Re: [lng-odp] [PATCHv2] linux-generic: packet: fix buggy compiler error

2016-12-22 Thread Nicolas Morey-Chaisemartin
Le 12/22/2016 à 02:49 PM, Maxim Uvarov a écrit : > On debian jessie gcc unable to compile current code > with error: > odp_packet.c: In function 'odp_packet_trunc_head': > odp_packet.c:314:46: error: array subscript is above array bounds > [-Werror=array-bounds] > to->buf_hdr.seg[i].len = from->

Re: [lng-odp] [PATCHv2] linux-generic: packet: fix buggy compiler error

2016-12-22 Thread Maxim Uvarov
day, December 22, 2016 4:20 PM >> To: Savolainen, Petri (Nokia - FI/Espoo) > labs.com> >> Cc: Mike Holmes ; Maxim Uvarov >> ; lng-odp >> Subject: Re: [lng-odp] [PATCHv2] linux-generic: packet: fix buggy compiler >> error >> >> On Thu,

Re: [lng-odp] [PATCHv2] linux-generic: packet: fix buggy compiler error

2016-12-22 Thread Savolainen, Petri (Nokia - FI/Espoo)
>> Holmes > >> Sent: Thursday, December 22, 2016 4:08 PM > >> To: Maxim Uvarov > >> Cc: lng-odp > >> Subject: Re: [lng-odp] [PATCHv2] linux-generic: packet: fix buggy > compiler > >> error > >> > >> On 22 December 2016 at 08:4

Re: [lng-odp] [PATCHv2] linux-generic: packet: fix buggy compiler error

2016-12-22 Thread Bill Fischofer
arov >> Cc: lng-odp >> Subject: Re: [lng-odp] [PATCHv2] linux-generic: packet: fix buggy compiler >> error >> >> On 22 December 2016 at 08:49, Maxim Uvarov >> wrote: >> >> > On debian jessie gcc unable to compile current code >> > wit

Re: [lng-odp] [PATCHv2] linux-generic: packet: fix buggy compiler error

2016-12-22 Thread Maxim Uvarov
rsday, December 22, 2016 4:08 PM > > To: Maxim Uvarov > > Cc: lng-odp > > Subject: Re: [lng-odp] [PATCHv2] linux-generic: packet: fix buggy > compiler > > error > > > > On 22 December 2016 at 08:49, Maxim Uvarov > > wrote: > > > > > On

Re: [lng-odp] [PATCHv2] linux-generic: packet: fix buggy compiler error

2016-12-22 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Mike > Holmes > Sent: Thursday, December 22, 2016 4:08 PM > To: Maxim Uvarov > Cc: lng-odp > Subject: Re: [lng-odp] [PATCHv2] linux-generic: packet: fix buggy compil

Re: [lng-odp] [PATCHv2] linux-generic: packet: fix buggy compiler error

2016-12-22 Thread Mike Holmes
On 22 December 2016 at 08:49, Maxim Uvarov wrote: > On debian jessie gcc unable to compile current code > with error: > odp_packet.c: In function 'odp_packet_trunc_head': > odp_packet.c:314:46: error: array subscript is above array bounds > [-Werror=array-bounds] > to->buf_hdr.seg[i].len = from->

[lng-odp] [PATCHv2] linux-generic: packet: fix buggy compiler error

2016-12-22 Thread Maxim Uvarov
On debian jessie gcc unable to compile current code with error: odp_packet.c: In function 'odp_packet_trunc_head': odp_packet.c:314:46: error: array subscript is above array bounds [-Werror=array-bounds] to->buf_hdr.seg[i].len = from->buf_hdr.seg[num + i].len; The problem is that it breaks compil