Skip to contentSkip to conversation

linux-next: build warning after merge of the pci tree

DISCUSSION Stephen Rothwell 1 participant 1 message Jul 18, 2025 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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")

Signature · 2 lines
Cheers,
Stephen Rothwell