diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2024-08-24 08:33:22 +0200 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2025-05-11 20:24:09 +0000 |
commit | aebef786221b1470a5a02e23964fa748b2f90f25 (patch) | |
tree | 1ba568e6fe3798bb89b3d38516d75a56a3877606 /src/drivers/intel/fsp2_0/silicon_init.c | |
parent | 074dd4f6f588f55e1723e5b026b4313517f52abe (diff) | |
download | coreboot-main.tar.gz coreboot-main.tar.bz2 coreboot-main.zip |
Warn about allocation function calls with insufficient size for the
target type of the pointer.
commit 6ab188ee6c99 ("Makefile.mk: Use Walloc-size GCC option")
introduced this GCC option, then commit d05fe9fd3ce9 ("Revert
"Makefile.mk:Use Localiser GCC option"") reverted it because older GCC
versions did not support it.
This change re-enables it for GCC version equal or greater than 14.1.0.
Change-Id: If5d36b073bb5b4cccb0cf2b67b43edb3f97f168c
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84074
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/drivers/intel/fsp2_0/silicon_init.c')
0 files changed, 0 insertions, 0 deletions