Skip to content
Commit 4b4bd8c5 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

gcc-15: acpi: sprinkle random '__nonstring' crumbles around



This is not great: I'd much rather introduce a typedef that is a "ACPI
name byte buffer", and use that to mark these special 4-byte ACPI names
that do not use NUL termination.

But as noted in the previous commit ("gcc-15: make 'unterminated string
initialization' just a warning") gcc doesn't actually seem to support
that notion, so instead you have to just mark every single array
declaration individually.

So this is not pretty, but this gets rid of the bulk of the annoying
warnings during an allmodconfig build for me.

Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d5d45a7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment