Re: [iproute PATCH v4 2/5] Use C99 style initializers everywhere

2016-07-15 Thread Phil Sutter
On Fri, Jul 15, 2016 at 09:33:24AM -0600, David Ahern wrote: > On 7/13/16 12:47 PM, Phil Sutter wrote: > > This big patch was compiled by vimgrepping for memset calls and changing > > to C99 initializer if applicable. One notable exception is the > > initialization of union bpf_attr in tc/tc_bpf.c:

Re: [iproute PATCH v4 2/5] Use C99 style initializers everywhere

2016-07-15 Thread David Ahern
On 7/13/16 12:47 PM, Phil Sutter wrote: This big patch was compiled by vimgrepping for memset calls and changing to C99 initializer if applicable. One notable exception is the initialization of union bpf_attr in tc/tc_bpf.c: changing it would break for older gcc versions (at least <=3.4.6). Call

[iproute PATCH v4 2/5] Use C99 style initializers everywhere

2016-07-13 Thread Phil Sutter
This big patch was compiled by vimgrepping for memset calls and changing to C99 initializer if applicable. One notable exception is the initialization of union bpf_attr in tc/tc_bpf.c: changing it would break for older gcc versions (at least <=3.4.6). Calls to memset for struct rtattr pointer fiel