[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5417cfdb-3ee7-b452-8321-f0008192af9d@gmail.com>
Date: Thu, 20 Sep 2018 15:53:38 -0700
From: David Ahern <dsahern@...il.com>
To: Florian Westphal <fw@...len.de>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: array bounds warning in xfrm_output_resume
On 9/20/18 7:06 AM, Florian Westphal wrote:
> David Ahern <dsahern@...il.com> wrote:
>>> $ make O=kbuild/perf -j 24 -s
>>> In file included from /home/dsa/kernel-3.git/include/linux/kernel.h:10:0,
>>> from /home/dsa/kernel-3.git/include/linux/list.h:9,
>>> from /home/dsa/kernel-3.git/include/linux/module.h:9,
>>> from /home/dsa/kernel-3.git/net/xfrm/xfrm_output.c:13:
>>> /home/dsa/kernel-3.git/net/xfrm/xfrm_output.c: In function
>>> ‘xfrm_output_resume’:
>>> /home/dsa/kernel-3.git/include/linux/compiler.h:252:20: warning: array
>>> subscript is above array bounds [-Warray-bounds]
>>> __read_once_size(&(x), __u.__c, sizeof(x)); \
>
> Does this thing avoid the warning?
nope, still see it.
Powered by blists - more mailing lists