aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy.c
diff options
context:
space:
mode:
authorXiongfeng Wang <[email protected]>2023-08-08 11:08:35 +0800
committerSuzuki K Poulose <[email protected]>2023-08-15 00:45:56 +0100
commit484281bd5b989a31c1045786e326084652ea49a0 (patch)
treecc00ae9256c9c8b757bcf59acda2dc21938df636 /lib/test_fortify/write_overflow-strncpy.c
parent28a03fae6e524d39fec14fea1ee67b86f4870658 (diff)
hwtracing: hisi_ptt: Use pci_dev_id() to simplify the code
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 mannually using PCI_DEVID(). Use pci_dev_id() to simplify the code a little bit. Signed-off-by: Xiongfeng Wang <[email protected]> Reviewed-by: Yicong Yang <[email protected]> Reviewed-by: Yang Yingliang <[email protected]> Signed-off-by: Suzuki K Poulose <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions