aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_prog_array_init.c
diff options
context:
space:
mode:
authorYu Liao <[email protected]>2024-08-26 09:21:00 +0800
committerJakub Kicinski <[email protected]>2024-08-27 14:20:13 -0700
commitd76867efebcb20752345e5a41d38bd456427b325 (patch)
tree9f3525a882c1ef47b7df0cf3070a6ce60e535e07 /tools/testing/selftests/bpf/progs/test_prog_array_init.c
parentbe04024a24a93f761a7b2c5f2de46db0f3acdc74 (diff)
net: txgbe: use pci_dev_id() helper
PCI core API pci_dev_id() can be used to get the BDF number for a PCI device. We don't need to compose it manually. Use pci_dev_id() to simplify the code a little bit. Signed-off-by: Yu Liao <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions