mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 4b4bd8c50f48 ("gcc-15: acpi: sprinkle random '__nonstring' crumbles around")
@ 2025-04-22 18:10 Chuck Lever
  2025-04-22 18:21 ` Linus Torvalds
  0 siblings, 1 reply; 2+ messages in thread
From: Chuck Lever @ 2025-04-22 18:10 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Rafael J. Wysocki, Linux List Kernel Mailing, linux-acpi

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.

$


-- 
Chuck Lever


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 4b4bd8c50f48 ("gcc-15: acpi: sprinkle random '__nonstring' crumbles around")
  2025-04-22 18:10 4b4bd8c50f48 ("gcc-15: acpi: sprinkle random '__nonstring' crumbles around") Chuck Lever
@ 2025-04-22 18:21 ` Linus Torvalds
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Torvalds @ 2025-04-22 18:21 UTC (permalink / raw)
  To: Chuck Lever; +Cc: Rafael J. Wysocki, Linux List Kernel Mailing, linux-acpi

On Tue, 22 Apr 2025 at 11:10, Chuck Lever <chuck.lever@oracle.com> wrote:
>
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-04-22 18:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-22 18:10 4b4bd8c50f48 ("gcc-15: acpi: sprinkle random '__nonstring' crumbles around") Chuck Lever
2025-04-22 18:21 ` Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®