Re: [PATCH 07/15] drop_monitor: work around gcc-10 stringop-overflow warning

2020-05-01 Thread Neil Horman
On Thu, Apr 30, 2020 at 11:30:49PM +0200, Arnd Bergmann wrote: > The current gcc-10 snapshot produces a false-positive warning: > > net/core/drop_monitor.c: In function 'trace_drop_common.constprop': > cc1: error: writing 8 bytes into a region of size 0 > [-Werror=stringop-overflow=] > In file in

[PATCH 07/15] drop_monitor: work around gcc-10 stringop-overflow warning

2020-04-30 Thread Arnd Bergmann
The current gcc-10 snapshot produces a false-positive warning: net/core/drop_monitor.c: In function 'trace_drop_common.constprop': cc1: error: writing 8 bytes into a region of size 0 [-Werror=stringop-overflow=] In file included from net/core/drop_monitor.c:23: include/uapi/linux/net_dropmon.h:36: