summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2026-07-23 23:00:46 +0100
committerBjorn Helgaas <bhelgaas@google.com>2026-07-28 11:18:51 -0500
commitc967b365d7b51c2297d9be5df39ac3e20638faf4 (patch)
tree3593446ce1459f91217c2adb023d933d04ba443e /scripts/Makefile.thinlto
parentd5c7d796b320144d00b7da23147809ea85a78a53 (diff)
downloadlinux-stable-c967b365d7b51c2297d9be5df39ac3e20638faf4.tar.gz
linux-stable-c967b365d7b51c2297d9be5df39ac3e20638faf4.zip
PCI: Make pci_match_one_device() match on ID instead of device
PCI dynamic ID needs to match IDs against a new ID to see if it already exists. Existing APIs can only match IDs against devices, so the dynamic ID insertion code creates a temporary device only for matching purposes. Rename pci_match_one_device() to pci_match_one_id() so it can be used for this purpose instead; add a pci_id_from_device() helper to make it easy to convert users. Similarly, convert pci_match_id() to do_pci_match_id(). But keep the existing API because there are many users. Signed-off-by: Gary Guo <gary@garyguo.net> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Danilo Krummrich <dakr@kernel.org> Link: https://patch.msgid.link/20260723-pci_id_fix-v4-7-3580726844e1@garyguo.net
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions