diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2024-08-23 00:17:07 +0200 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2024-08-30 07:35:53 +0000 |
commit | de50a3f94bc4ee596bf87dd1bbcd1aa150d09fe9 (patch) | |
tree | 79ba1950d4baec7c10d9566f4d64e47c51f4c252 /src/mainboard/google/dedede/smihandler.c | |
parent | b571e541731af44f4bec8c9738254de577394e9c (diff) |
soc/intel/pmclib.c: Work around compiler bug -Werror=stringop-overread
On xeon-sp this is a zero length array. With GCC LTO this triggers the
stringop-overread warning. To work around this change the signature of
the function from an array to a pointer.
Change-Id: Ieee6e9bddc4e738eb560dd0e69dc3087ac9f5da6
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84042
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard/google/dedede/smihandler.c')
0 files changed, 0 insertions, 0 deletions