summaryrefslogtreecommitdiffstats
path: root/mm/vmpressure.c
diff options
context:
space:
mode:
authorXiongfeng Wang <wangxiongfeng2@huawei.com>2023-08-07 15:48:58 +0200
committerBjorn Helgaas <bhelgaas@google.com>2023-08-07 23:15:39 +0200
commit6f7dc3076717d48980d8214eee083ee401fbe66d (patch)
tree92266b61c479b9f50612bc15137cffa267a6d193 /mm/vmpressure.c
parentPCI/AER: Use pci_dev_id() to simplify the code (diff)
downloadlinux-6f7dc3076717d48980d8214eee083ee401fbe66d.tar.xz
linux-6f7dc3076717d48980d8214eee083ee401fbe66d.zip
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/20230807134858.116051-4-wangxiongfeng2@huawei.com Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'mm/vmpressure.c')
0 files changed, 0 insertions, 0 deletions