[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190401213750.GA22498@bistromath.localdomain>
Date: Mon, 1 Apr 2019 23:37:50 +0200
From: Sabrina Dubroca <sd@...asysnail.net>
To: Florian Westphal <fw@...len.de>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next v2] macsec: add noinline tag to avoid a frame
size warning
2019-04-01, 22:59:09 +0200, Florian Westphal wrote:
> seen with debug config:
> drivers/net/macsec.c: In function 'dump_secy':
> drivers/net/macsec.c:2597: warning: the frame size of 2216 bytes is larger
> than 2048 bytes [-Wframe-larger-than=]
>
> just mark it with noinline_for_stack, this is netlink dump code.
>
> v2: use 'static noinline_for_stack int' consistently
>
> Cc: Sabrina Dubroca <sd@...asysnail.net>
> Signed-off-by: Florian Westphal <fw@...len.de>
Thanks Florian.
Reviewed-by: Sabrina Dubroca <sd@...asysnail.net>
--
Sabrina
Powered by blists - more mailing lists