diff options
author | Sui Jingfeng <[email protected]> | 2023-10-06 16:48:38 -0500 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2023-10-06 17:18:57 -0500 |
commit | 300bac9389e09274049fee5d367ae2b296bc8a10 (patch) | |
tree | 9505286552b71c82ea149a61bb19f5312011fcea /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 655e6fe178960c50bfbb0bfe3c4a12c82b1ad918 (diff) |
PCI/VGA: Select VGA devices earlier
Select VGA devices in vga_arb_device_init() and pci_notify() instead of in
vga_arbiter_add_pci_device().
This is a trivial optimization for adding devices. It's a bigger
optimization for the removal case because pci_notify() won't call
vga_arbiter_del_pci_device() for non-VGA devices, so it won't have to
search the vga_list for them.
https://lore.kernel.org/r/[email protected]
Signed-off-by: Sui Jingfeng <[email protected]>
[bhelgaas: commit log, split from functional change]
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