[ovs-dev] [PATCH 05/10] datapath-windows: Define OVS_DPPORT_NUMBER_INVALID

Nithin Raju nithin at vmware.com
Thu Oct 9 05:10:15 UTC 2014


On Oct 8, 2014, at 5:21 PM, Alin Serdean <aserdean at cloudbasesolutions.com> wrote:

> The fields externalVport and internalVport of the OVS_SWITCH_CONTEXT
> struct are currently defined as PVOID. However, all over the code they
> are used as POVS_VPORT_ENTRY. In order to improve clarity and reduce the
> need for useless casts to POVS_VPORT_ENTRY, this patch changes the type
> from PVOID to POVS_VPORT_ENTRY.
> 
> This patch does not cleanup the code that already uses casts to
> POVS_VPORT_ENTRY. This cleanup can be done later on as well.
> 
> Signed-off-by: Samuel Ghinet <sghinet at cloudbasesolutions.com>
> Co-authored-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>

Acked-by: Nithin Raju <nithin at vmware.com>
Tested-by: Nithin Raju <nithin at vmware.com>




More information about the dev mailing list