summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorPuranjay Mohan <puranjay12@gmail.com>2020-11-29 19:46:26 +0300
committerBjorn Helgaas <bhelgaas@google.com>2020-12-05 00:00:17 +0300
commitf646c2a0a6685a8a30a150509b112c911b8feff3 (patch)
tree974d5618fd35266a9102937c4a66474f7f6790db /scripts/generate_rust_analyzer.py
parent3853f9123c185eb4018f5ccd3cdda5968efb5e10 (diff)
downloadlinux-f646c2a0a6685a8a30a150509b112c911b8feff3.tar.xz
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/20201129164626.12887-1-puranjay12@gmail.com Signed-off-by: Puranjay Mohan <puranjay12@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions