| 1 |
Fromscip-debian debian coreboot 25.09+dfsg-1 coreboot/patches/`fix-gcc-new-warn-string-no-null.patch`#From.: Ahmad Khalifa <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 2 |
Datescip-debian debian coreboot 25.09+dfsg-1 coreboot/patches/`fix-gcc-new-warn-string-no-null.patch`#Date.: Sat, 06 Sep 2025 13:50:12 +0000 |
| 3 |
Forwardedscip-debian debian coreboot 25.09+dfsg-1 coreboot/patches/`fix-gcc-new-warn-string-no-null.patch`#Forwarded.: not-needed |
| 4 |
Subjectscip-debian debian coreboot 25.09+dfsg-1 coreboot/patches/`fix-gcc-new-warn-string-no-null.patch`#Subject.: fix gcc warning strin no null terminator |
| 5 |
|
| 6 |
--- a/src/commonlib/include/commonlib/loglevel.hscip-debian debian coreboot 25.09+dfsg-1 coreboot/upstream/`src/commonlib/include/commonlib/loglevel.h`: |
| 7 |
+++ b/src/commonlib/include/commonlib/loglevel.hscip-debian debian coreboot 25.09+dfsg-1 coreboot/upstream/`src/commonlib/include/commonlib/loglevel.h`: |
| 8 |
@@ -165,7 +165,7 @@ |
| 9 |
*/ |
| 10 |
#define BIOS_LOG_PREFIX_PATTERN "[%.5s] " |
| 11 |
#define BIOS_LOG_PREFIX_MAX_LEVEL BIOS_SPEW |
| 12 |
|
| 13 |
+static const char __nonstring bios_log_prefix[BIOS_LOG_PREFIX_MAX_LEVEL + 1][6] = { |
| 14 |
/* Note: These strings are *not* null-terminated to save space. */ |
| 15 |
[BIOS_EMERG] = "EMERG", |
| 16 |
[BIOS_ALERT] = "ALERT", |