diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2024-09-19 20:04:27 +0300 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2025-03-03 18:39:26 +0300 |
commit | 136899ffc462b491f2b18db18fe7cd519d5cb6c2 (patch) | |
tree | 266ef0c5e366cacaf69f1c63afe0dba71f6d93e0 /lib/string_helpers.c | |
parent | ac2fbe0948a551e9732b3c5ebf0a37281af68df2 (diff) | |
download | linux-136899ffc462b491f2b18db18fe7cd519d5cb6c2.tar.xz |
EDAC/pnd2: Make read-only const array intlv static
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@gmail.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Link: https://lore.kernel.org/r/20240919170427.497429-1-colin.i.king@gmail.com
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions