diff options
| author | Bjorn Helgaas <[email protected]> | 2020-12-04 21:14:07 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2020-12-04 21:14:07 +0000 |
| commit | ee8b1c478a9fbce9c64151ee561c124c4dcd66be (patch) | |
| tree | 8334858dc67e42594063c7fa9b97887277a5a4eb /fs/proc/array.c | |
| parent | PCI: Return u8 from pci_find_capability() and similar (diff) | |
| download | kernel-ee8b1c478a9fbce9c64151ee561c124c4dcd66be.tar.gz kernel-ee8b1c478a9fbce9c64151ee561c124c4dcd66be.zip | |
PCI: Return u16 from pci_find_ext_capability() and similar
PCI Express Extended Capabilities are in config space between offsets 256
and 4K. These offsets all fit in 16 bits.
Change the return type of pci_find_ext_capability() and supporting
functions from int to u16 to match the specification. Many callers use
"int", which is fine, but there's no need to store more than a u16.
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
