linux-next: build warning after merge of the pci tree
From: Stephen Rothwell
Date: Fri Jul 18 2025 - 08:41:37 EST
Hi all,
After merging the pci tree, today's linux-next build (sparc defconfig)
produced this warning:
In file included from /home/sfr/next/next/include/linux/pci.h:37,
from /home/sfr/next/next/drivers/pci/pci-sysfs.c:19:
/home/sfr/next/next/include/linux/device.h:199:33: warning: 'dev_attr_boot_display' defined but not used [-Wunused-variable]
199 | struct device_attribute dev_attr_##_name = __ATTR_RO(_name)
| ^~~~~~~~~
/home/sfr/next/next/drivers/pci/pci-sysfs.c:688:8: note: in expansion of macro 'DEVICE_ATTR_RO'
688 | static DEVICE_ATTR_RO(boot_display);
| ^~~~~~~~~~~~~~
Introduced by commit
c4f2dc1e5293 ("PCI: Add a new 'boot_display' attribute")
--
Cheers,
Stephen Rothwell
Attachment:
pgpy2TKuvyyXc.pgp
Description: OpenPGP digital signature