diff options
author | Christoph Hellwig <[email protected]> | 2020-01-21 06:37:45 -0700 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2020-01-24 14:54:08 -0600 |
commit | aad6aa0cd674b7935957354666f82e5b2cdc813d (patch) | |
tree | dd5d00a559f488e8da51c4b6df713a6628248793 /scripts/bpf_helpers_doc.py | |
parent | e42617b825f8073569da76dc4510bfa019b1c35a (diff) |
x86/PCI: Add to_pci_sysdata() helper
Various helpers need the pci_sysdata just to dereference a single field in
it. Add a little helper that returns the properly typed sysdata pointer to
require a little less boilerplate code.
[jonathan.derrick: to_pci_sysdata const argument]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jon Derrick <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions