Re: [ovs-dev] [PATCH v2 2/2] flow: Add helper to zero padding of flow

2013-09-25 Thread Ben Pfaff
On Wed, Sep 25, 2013 at 01:31:08PM +0900, Simon Horman wrote: The sole purpose of this change is to avoid sparse warnings about memset of zero length in the case where the zero field of struct flow is zero bytes long, as is the case after Remove mpls_depth field from flow. Signed-off-by:

Re: [ovs-dev] [PATCH v2 2/2] flow: Add helper to zero padding of flow

2013-09-25 Thread Ben Pfaff
On Wed, Sep 25, 2013 at 08:57:08AM -0700, Ben Pfaff wrote: On Wed, Sep 25, 2013 at 01:31:08PM +0900, Simon Horman wrote: The sole purpose of this change is to avoid sparse warnings about memset of zero length in the case where the zero field of struct flow is zero bytes long, as is the case

Re: [ovs-dev] [PATCH v2 2/2] flow: Add helper to zero padding of flow

2013-09-25 Thread Simon Horman
On Wed, Sep 25, 2013 at 09:03:17AM -0700, Ben Pfaff wrote: On Wed, Sep 25, 2013 at 08:57:08AM -0700, Ben Pfaff wrote: On Wed, Sep 25, 2013 at 01:31:08PM +0900, Simon Horman wrote: The sole purpose of this change is to avoid sparse warnings about memset of zero length in the case where the

Re: [ovs-dev] [PATCH v2 2/2] flow: Add helper to zero padding of flow

2013-09-25 Thread Ben Pfaff
Thanks! On Sep 25, 2013 5:38 PM, Simon Horman ho...@verge.net.au wrote: On Wed, Sep 25, 2013 at 09:03:17AM -0700, Ben Pfaff wrote: On Wed, Sep 25, 2013 at 08:57:08AM -0700, Ben Pfaff wrote: On Wed, Sep 25, 2013 at 01:31:08PM +0900, Simon Horman wrote: The sole purpose of this change is

[ovs-dev] [PATCH v2 2/2] flow: Add helper to zero padding of flow

2013-09-24 Thread Simon Horman
The sole purpose of this change is to avoid sparse warnings about memset of zero length in the case where the zero field of struct flow is zero bytes long, as is the case after Remove mpls_depth field from flow. Signed-off-by: Simon Horman ho...@verge.net.au --- This patch could trivially be: