diff options
| author | Krzysztof Wilczyński <kwilczynski@kernel.org> | 2026-07-21 02:04:25 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2026-08-04 17:09:21 -0500 |
| commit | ee2ca844570a7aa6eba48cea29da24455a5f0288 (patch) | |
| tree | ac20d001998022d1fef29ead81b221a38d52df59 /scripts/objdiff | |
| parent | 7823291ac45cd1f7fb7d975d4529cca269faf5de (diff) | |
| download | linux-ee2ca844570a7aa6eba48cea29da24455a5f0288.tar.gz linux-ee2ca844570a7aa6eba48cea29da24455a5f0288.zip | |
alpha/PCI: Make the suffix the first __pci_dev_resource_attr() parameter
Currently, the __pci_dev_resource_attr() helper macro takes the attribute
name suffix as its third parameter, even though the suffix is what
distinguishes the three attribute variants built on top of it.
Additionally, the pci_dev_resource_attr() wrapper passes an empty suffix,
and with the suffix placed in the middle of the parameter list its
invocation contains two consecutive commas, which checkpatch.pl highlights,
as follows:
ERROR: space required after that ',' (ctx:VxO)
Move the suffix to the front so that the variant selector comes first and
the empty argument follows the opening parenthesis, which checkpatch.pl
does not complain about. This also matches the parameter order used by the
PCI legacy I/O and memory attribute macros introduced in a subsequent
change.
No functional changes intended.
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20260721020427.1541197-3-kwilczynski@kernel.org
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
