diff options
author | Xiongfeng Wang <[email protected]> | 2023-08-07 21:48:58 +0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2023-08-07 16:15:39 -0500 |
commit | 6f7dc3076717d48980d8214eee083ee401fbe66d (patch) | |
tree | 92266b61c479b9f50612bc15137cffa267a6d193 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | f7f7c3d61556bb25c8c45c164056533fb2dde867 (diff) |
PCI/IOV: Use pci_dev_id() to simplify the code
When we have a struct pci_dev *, use pci_dev_id() instead of manually
composing the ID with PCI_DEVID() from dev->bus->number and dev->devfn.
[bhelgaas: commit log]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Xiongfeng Wang <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions