datapath-windows: Suppress PAGED_CODE warnings
Suppress static code analysis around PAGED_CODE(). The macro is useful only in
checked builds.
Acked-by: Shashank Ram
@@ -646,6 +646,7 @@ OvsOpenCloseDevice(PDEVICE_OBJECT deviceObject,
POVS_DEVICE_EXTENSION ovsExt =
(POVS_DEVICE_EXTENSION)NdisGetDeviceReservedExtension(deviceObject);
+#pragma warning(suppress: 28118)
PAGED_CODE();
ASSERT(deviceObject == gOvsDeviceObject);
ASSERT(ovsExt != NULL);
@@ -679,6 +680,7 @@ NTSTATUS
OvsCleanupDevice(PDEVICE_OBJECT deviceObject,
PIRP irp)
{
+#pragma warning(suppress: 28118)
PAGED_CODE();
PIO_STACK_LOCATION irpSp;
PFILE_OBJECT fileObject;
@@ -728,6 +730,7 @@ OvsDeviceControl(PDEVICE_OBJECT deviceObject,
NETLINK_FAMILY *nlFamilyOps;
OVS_USER_PARAMS_CONTEXT usrParamsCtx;
+#pragma warning(suppress: 28118)
PAGED_CODE();
#ifdef DBG
POVS_DEVICE_EXTENSION ovsExt =
