public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* ACPICA compilation error on x86_64_defconfig (W=1 build)
@ 2025-04-07 18:47 Andy Shevchenko
  2025-04-07 18:49 ` Rafael J. Wysocki
  0 siblings, 1 reply; 7+ messages in thread
From: Andy Shevchenko @ 2025-04-07 18:47 UTC (permalink / raw)
  To: Robert Moore, Rafael J. Wysocki; +Cc: linux-acpi, acpica-devel

v6.15-rc1 (but seems older should also be problematic) fails to compile by
Clang 19 with `make W=1`.

  CC      drivers/acpi/acpica/nsaccess.o
  drivers/acpi/acpica/nsaccess.c:295:6: error: variable 'num_carats' set but not used [-Werror,-Wunused-but-set-variable]
    295 |         u32 num_carats;
        |             ^
  1 error generated.

I looked briefly in the code and I have no idea how to fix this, as probably
__maybe_unused not an option for ACPICA. Hence this report.

Note, the in-tree defconfig is in use:

	git checkout v6.15-rc1
	make x86_64_defconfig
	make W=1

should trigger it.

-- 
With Best Regards,
Andy Shevchenko



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

end of thread, other threads:[~2025-04-09 14:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-07 18:47 ACPICA compilation error on x86_64_defconfig (W=1 build) Andy Shevchenko
2025-04-07 18:49 ` Rafael J. Wysocki
2025-04-07 18:51   ` Andy Shevchenko
     [not found]     ` <LV8PR11MB86980990221C597E01BAEB7980B52@LV8PR11MB8698.namprd11.prod.outlook.com>
     [not found]       ` <LV8PR11MB8698978FFF89ACBEF253667680B52@LV8PR11MB8698.namprd11.prod.outlook.com>
2025-04-09 11:24         ` Shevchenko, Andriy
2025-04-09 14:00           ` Shevchenko, Andriy
2025-04-09 14:07             ` Rafael J. Wysocki
2025-04-09 14:15               ` Shevchenko, Andriy

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