|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 08/21] driver: fix Dispatch() annotation
Dispatch() is of type DRIVER_DISPATCH which is annotated as (_In, _Inout_)
in wdm.h.
Annotate Dispatch() the same.
Signed-off-by: Césaire Mounah <cesaire.mounah@xxxxxxxxxx>
---
src/xenvif/driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xenvif/driver.c b/src/xenvif/driver.c
index af4b893..69d0622 100644
--- a/src/xenvif/driver.c
+++ b/src/xenvif/driver.c
@@ -248,7 +248,7 @@ DRIVER_DISPATCH Dispatch;
NTSTATUS
Dispatch(
_In_ PDEVICE_OBJECT DeviceObject,
- _In_ PIRP Irp
+ _Inout_ PIRP Irp
)
{
PXENVIF_DX Dx;
--
2.55.0.windows.5
--
Césaire Mounah | Vates Windows Guest Tools Engineer
XCP-ng & Xen Orchestra - Vates solutions
web: https://vates.tech
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |