RE: [PATCH][next][V2] EDAC, pnd2: Make read-only const array intlv static

From: Luck, Tony
Date: Thu Sep 19 2024 - 13:16:37 EST


> Don't populate the const read-only array intlv on the stack at
> run time, instead make it static. This also shrinks the object size:
>
> $ size pnd2_edac.o.*
>
> text data bss dec hex filename
> 15632 264 1384 17280 4380 pnd2_edac.o.new
> 15644 264 1384 17292 438c pnd2_edac.o.old
>
> Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>
> Reviewed-by: Qiuxu Zhuo <qiuxu.zhuo@xxxxxxxxx>

LGTM. I'll apply to RAS tree after merge window when v6.11-rc1 is available.

Thanks

-Tony