Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/84170?usp=email )
Change subject: commonlib/coreboot_tables.h: Fix Wunterminated-string-initialization error ......................................................................
commonlib/coreboot_tables.h: Fix Wunterminated-string-initialization error
This to fix: src/mainboard/google/geralt/panel.c:59:59: error: initializer-string for array of 'unsigned char' is too long [-Werror=unterminated-string-initialization] 59 | {GPIO_AP_DISP_BKLTEN.id, ACTIVE_HIGH, -1, "backlight enable"}, | ^~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors
Change-Id: I6fca7f067dab07bda5a31c9b5796272bea9763e1 Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M src/commonlib/include/commonlib/coreboot_tables.h 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/70/84170/1
diff --git a/src/commonlib/include/commonlib/coreboot_tables.h b/src/commonlib/include/commonlib/coreboot_tables.h index 7cbc7da..5ebbe15 100644 --- a/src/commonlib/include/commonlib/coreboot_tables.h +++ b/src/commonlib/include/commonlib/coreboot_tables.h @@ -310,7 +310,7 @@ #define ACTIVE_LOW 0 #define ACTIVE_HIGH 1 uint32_t value; -#define GPIO_MAX_NAME_LENGTH 16 +#define GPIO_MAX_NAME_LENGTH 17 uint8_t name[GPIO_MAX_NAME_LENGTH]; };