Skip to contentSkip to conversation

4b4bd8c50f48 ("gcc-15: acpi: sprinkle random '__nonstring' crumbles around")

DISCUSSION Chuck Lever 2 participants 2 messages Apr 22, 2025 ACPI

lore
Share & tools
lore
#0 lore raw

Hi -

I'm seeing this new warning fire with v6.15-rc3:

/home/cel/src/linux/server-development/drivers/acpi/tables.c:399:1:
warning: ‘nonstring’ attribute ignored on objects of type ‘const char[][4]’ [-Wattributes]
399 | static const char table_sigs[][ACPI_NAMESEG_SIZE] __initconst

__nonstring = {
      | ^~~~~~
$ gcc --version
gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$

Signature · 1 line
Chuck Lever
#1 lore raw
Quoted 4 lines · Chuck Lever

Hi -

I'm seeing this new warning fire with v6.15-rc3:

Yup. See commit 9d7a0577c9db ("gcc-15: disable '-Wunterminated-string-initialization' entirely for now") right after I made rc3. Oops.

Linus