[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <SJ1PR11MB60838520BD3696B2A6C1792DFC932@SJ1PR11MB6083.namprd11.prod.outlook.com>
Date: Tue, 3 Sep 2024 20:54:36 +0000
From: "Luck, Tony" <tony.luck@...el.com>
To: "Zhuo, Qiuxu" <qiuxu.zhuo@...el.com>
CC: Borislav Petkov <bp@...en8.de>, James Morse <james.morse@....com>, "Mauro
Carvalho Chehab" <mchehab@...nel.org>, Robert Richter <rric@...nel.org>,
"Zhang, Rui" <rui.zhang@...el.com>, "linux-edac@...r.kernel.org"
<linux-edac@...r.kernel.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 1/1] EDAC/sb_edac: Fix the compile warning of large frame
size
> Compiling sb_edac driver with GCC 11.4.0 and the W=1 option reported
> the following warning:
>
> drivers/edac/sb_edac.c: In function ‘sbridge_mce_output_error’:
> drivers/edac/sb_edac.c:3249:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
>
> As there is no concurrent invocation of sbridge_mce_output_error(),
> fix this warning by moving the large-size variables 'msg' and 'msg_full'
> from the stack to the pre-allocated data segment.
>
> Reported-by: Zhang Rui <rui.zhang@...el.com>
> Tested-by: Zhang Rui <rui.zhang@...el.com>
> Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@...el.com>
Qiuxu,
Applied this and three other EDAC driver patches posted while I was away
to the RAS edac-drivers branch and merged that into edac-for-next
Thanks
-Tony
Powered by blists - more mailing lists