diff options
| author | Puranjay Mohan <[email protected]> | 2020-11-29 16:46:26 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2020-12-04 21:00:17 +0000 |
| commit | f646c2a0a6685a8a30a150509b112c911b8feff3 (patch) | |
| tree | 974d5618fd35266a9102937c4a66474f7f6790db /fs/proc/array.c | |
| parent | PCI: Avoid duplicate IDs in driver dynamic IDs list (diff) | |
| download | kernel-f646c2a0a6685a8a30a150509b112c911b8feff3.tar.gz kernel-f646c2a0a6685a8a30a150509b112c911b8feff3.zip | |
PCI: Return u8 from pci_find_capability() and similar
PCI Capabilities are linked in a list that must appear in the first 256
bytes of config space. Each capabilities list pointer is 8 bits.
Change the return type of pci_find_capability() and supporting functions
from int to u8 to match the specification.
[bhelgaas: change other related interfaces, fix HyperTransport typos]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Puranjay Mohan <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
