Re: [ovs-dev] [PATCH] packet: Fix sparse warnings ICMPv6.

2014-09-02 Thread Jesse Gross
On Tue, Sep 2, 2014 at 8:51 PM, Ben Pfaff wrote: > On Tue, Sep 02, 2014 at 06:43:31PM -0700, Jesse Gross wrote: >> On Tue, Sep 2, 2014 at 6:23 PM, Ben Pfaff wrote: >> > On Tue, Sep 02, 2014 at 06:00:08PM -0700, Jesse Gross wrote: >> >> The system defined ICMPv6 header doesn't have sparse annotati

Re: [ovs-dev] [PATCH] packet: Fix sparse warnings ICMPv6.

2014-09-02 Thread Ben Pfaff
On Tue, Sep 02, 2014 at 06:43:31PM -0700, Jesse Gross wrote: > On Tue, Sep 2, 2014 at 6:23 PM, Ben Pfaff wrote: > > On Tue, Sep 02, 2014 at 06:00:08PM -0700, Jesse Gross wrote: > >> The system defined ICMPv6 header doesn't have sparse annotation, > >> so this adds a definition so that endianness c

Re: [ovs-dev] [PATCH] packet: Fix sparse warnings ICMPv6.

2014-09-02 Thread Jesse Gross
On Tue, Sep 2, 2014 at 6:23 PM, Ben Pfaff wrote: > On Tue, Sep 02, 2014 at 06:00:08PM -0700, Jesse Gross wrote: >> The system defined ICMPv6 header doesn't have sparse annotation, >> so this adds a definition so that endianness can be checked. >> >> Reported-by: Alex Wang >> Signed-off-by: Jesse

Re: [ovs-dev] [PATCH] packet: Fix sparse warnings ICMPv6.

2014-09-02 Thread Ben Pfaff
On Tue, Sep 02, 2014 at 06:00:08PM -0700, Jesse Gross wrote: > The system defined ICMPv6 header doesn't have sparse annotation, > so this adds a definition so that endianness can be checked. > > Reported-by: Alex Wang > Signed-off-by: Jesse Gross In some cases we've avoided warnings on system t

[ovs-dev] [PATCH] packet: Fix sparse warnings ICMPv6.

2014-09-02 Thread Jesse Gross
The system defined ICMPv6 header doesn't have sparse annotation, so this adds a definition so that endianness can be checked. Reported-by: Alex Wang Signed-off-by: Jesse Gross --- lib/packets.c | 5 +++-- lib/packets.h | 9 + 2 files changed, 12 insertions(+), 2 deletions(-) diff --git