diff options
author | Thomas Gleixner <[email protected]> | 2021-07-29 23:51:55 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2021-08-10 11:03:30 +0200 |
commit | b296ababcc4bbf8efbb603d3aec6024a78662c1b (patch) | |
tree | 6d0cecd40f0589c92f381d7940ddccb0dfb5162e /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 8eb5ce3f78a5e5d3f1a12248f6b7dc64ebf71da6 (diff) |
PCI/MSI: Deobfuscate virtual MSI-X
Handling of virtual MSI-X is obfuscated by letting pci_msix_desc_addr()
return NULL and checking the pointer.
Just use msi_desc::msi_attrib.is_virtual at the call sites and get rid of
that pointer check.
No functional change.
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Marc Zyngier <[email protected]>
Reviewed-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions