diff options
author | Zheng Zengkai <[email protected]> | 2023-08-11 19:10:57 +0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2023-08-14 12:05:05 -0500 |
commit | 0e8207f54cf5902367080a0e648d3adae6c019a1 (patch) | |
tree | 69b06b4e579d7a6f2b5bb139dd46f7e5b02c67d9 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 6f7dc3076717d48980d8214eee083ee401fbe66d (diff) |
PCI/P2PDMA: 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 from dev->bus->number and dev->devfn.
[bhelgaas: commit log]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Zheng Zengkai <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Logan Gunthorpe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions