aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/x86/utils.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2025-03-10 22:24:33 +0000
committerRafael J. Wysocki <[email protected]>2025-03-12 19:41:14 +0000
commit425b1c97b07f2290700f708edabef32861e2b2db (patch)
treea1b562d4c1214e1bfa7108b1fa8b91537b6fad71 /drivers/acpi/x86/utils.c
parentPNP: Remove prehistoric deadcode (diff)
downloadkernel-425b1c97b07f2290700f708edabef32861e2b2db.tar.gz
kernel-425b1c97b07f2290700f708edabef32861e2b2db.zip
PNP: Expand length of fixup id string
GCC 15's -Wunterminated-string-initialization saw that "id" was not including the required trailing NUL character. Instead of marking "id" with __nonstring[1], expand the length of the string as it is used in (debugging) format strings that expect a properly formed C string. Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117178 [1] Signed-off-by: Kees Cook <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/acpi/x86/utils.c')
0 files changed, 0 insertions, 0 deletions