[ofw] [PATCH] IPOIB_NDIS6_CM mods to make prefast happy 1 of 4

Smith, Stan stan.smith at intel.com
Fri Oct 29 16:20:08 PDT 2010


add DRIVER_DISPATCH declarations

signed-off-by: stan smith <stan.smith at intel.com>

--- A/ulp/ipoib_NDIS6_CM/kernel/ipoib_ibat.cpp  Fri Oct 29 15:53:18 2010
+++ B/ulp/ipoib_NDIS6_CM/kernel/ipoib_ibat.cpp  Fri Oct 29 15:30:30 2010
@@ -44,21 +44,25 @@

 extern PDRIVER_OBJECT                          g_p_drv_obj;

+static DRIVER_DISPATCH __ipoib_create;
 static NTSTATUS
 __ipoib_create(
        IN                              DEVICE_OBJECT* const            pDevObj,
        IN                              IRP* const                                      pIrp );

+static DRIVER_DISPATCH __ipoib_cleanup;
 static NTSTATUS
 __ipoib_cleanup(
        IN                              DEVICE_OBJECT* const            pDevObj,
        IN                              IRP* const                                      pIrp );

+static DRIVER_DISPATCH __ipoib_close;
 static NTSTATUS
 __ipoib_close(
        IN                              DEVICE_OBJECT* const            pDevObj,
        IN                              IRP* const                                      pIrp );

+static DRIVER_DISPATCH __ipoib_dispatch;
 static NTSTATUS
 __ipoib_dispatch(
        IN                              DEVICE_OBJECT* const            pDevObj,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipoib_ibat.cpp.patch
Type: application/octet-stream
Size: 914 bytes
Desc: ipoib_ibat.cpp.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20101029/756c54d7/attachment.obj>


More information about the ofw mailing list