Skip to content

Commit

Permalink
datapath-windows: Fix function prototypes
Browse files Browse the repository at this point in the history
There is a mismatch between OvsInitCompletionList and OvsAddPktCompletionList
prototypes.

Eg:
https://github.com/openvswitch/ovs/blob/master/datapath-windows/ovsext/PacketIO.h#L33
https://github.com/openvswitch/ovs/blob/master/datapath-windows/ovsext/PacketIO.c#L54

Found while compiling with Windows 10 kernel tool chain.

Signed-off-by: Alin Gabriel Serdean <[email protected]>
Acked-by: Sairam Venugopal <[email protected]>
Signed-off-by: Gurucharan Shetty <[email protected]>
  • Loading branch information
Alin Serdean authored and shettyg committed Dec 21, 2016
1 parent 1047182 commit 9cd754f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datapath-windows/ovsext/PacketIO.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ static NTSTATUS OvsCreateNewNBLsFromMultipleNBs(
PNET_BUFFER_LIST *curNbl,
PNET_BUFFER_LIST *nextNbl);

__inline VOID
VOID
OvsInitCompletionList(OvsCompletionList *completionList,
POVS_SWITCH_CONTEXT switchContext,
ULONG sendCompleteFlags)
Expand All @@ -64,7 +64,7 @@ OvsInitCompletionList(OvsCompletionList *completionList,
}

/* Utility function used to complete an NBL. */
__inline VOID
VOID
OvsAddPktCompletionList(OvsCompletionList *completionList,
BOOLEAN incoming,
NDIS_SWITCH_PORT_ID sourcePort,
Expand Down

0 comments on commit 9cd754f

Please sign in to comment.