diff options
| author | Krzysztof Wilczyński <kwilczynski@kernel.org> | 2026-07-21 02:04:24 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2026-08-04 17:07:56 -0500 |
| commit | 7823291ac45cd1f7fb7d975d4529cca269faf5de (patch) | |
| tree | aa8989a3c7a258c53458b2d20c0207d4a6b639d3 /scripts/Makefile.thinlto | |
| parent | 747b9bbbbdfdee51aee2456388f9b94b5086de4d (diff) | |
| download | linux-stable-7823291ac45cd1f7fb7d975d4529cca269faf5de.tar.gz linux-stable-7823291ac45cd1f7fb7d975d4529cca269faf5de.zip | |
PCI/sysfs: Add pci_ prefix to static PCI resource attribute names
Currently, the static binary attributes for the PCI resource files are
generated with the names dev_resource<N>_io_attr, dev_resource<N>_uc_attr
and dev_resource<N>_wc_attr.
The macros that generate these attributes and the arrays that collect them
already carry the pci_ prefix, as do the sibling legacy I/O and memory
attributes, such as pci_legacy_io_attr. Only the generated variable names
lack it.
Rename the generated variables to pci_dev_resource<N>_io_attr,
pci_dev_resource<N>_uc_attr and pci_dev_resource<N>_wc_attr, and update the
attribute pointer arrays to match.
While at it, re-align the continuation backslashes in the resource
attribute macros to match.
No functional changes intended.
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
[bhelgaas: shorten pci_dev_resource##_bar##_wc_attr to fit in 80 columns]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20260721020427.1541197-2-kwilczynski@kernel.org
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
