]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Prefer 'unsigned int' over bare 'unsigned'
authorKrzysztof Wilczyński <kw@linux.com>
Wed, 13 Oct 2021 01:41:36 +0000 (01:41 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 27 Oct 2021 18:41:22 +0000 (13:41 -0500)
commitd4e190af3cad9bd9655026f4917d33cc9c0b7cb7
treedbb46ce484e98c9ebb44c29f3cef446e8a04d973
parentc26500ce57a364648c651b58344c0814d230441a
PCI: Prefer 'unsigned int' over bare 'unsigned'

The bare "unsigned" type implicitly means "unsigned int", but the preferred
coding style is to use the complete type name.

Update the bare use of "unsigned" to the preferred "unsigned int".

No change to functionality intended.

See 25567c9b0d32 ("checkpatch: warn on bare unsigned or signed declarations
without int").

Link: https://lore.kernel.org/r/20211013014136.1117543-1-kw@linux.com
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/pci-thunder-ecam.c
drivers/pci/msi.c
drivers/pci/pci.c
drivers/pci/probe.c
drivers/pci/quirks.c
drivers/pci/rom.c
drivers/pci/setup-bus.c