aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/probe.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2019-09-06 18:36:06 -0500
committerBjorn Helgaas <bhelgaas@google.com>2019-11-14 17:44:48 -0600
commit7cf2cba43f15c74bac46dc5f0326805d25ef514d (patch)
treed5ba31187c34ea7f54e0253c51c248a6847d50b0 /drivers/pci/probe.c
parentPCI: Make ACS quirk implementations more uniform (diff)
downloadlinux-dev-7cf2cba43f15c74bac46dc5f0326805d25ef514d.tar.xz
linux-dev-7cf2cba43f15c74bac46dc5f0326805d25ef514d.zip
PCI: Unify ACS quirk desired vs provided checking
Most of the ACS quirks have a similar pattern of: acs_flags &= ~( <controls provided by this device> ); return acs_flags ? 0 : 1; Pull this out into a helper function to simplify the quirks slightly. The helper function is also a convenient place for comments about what the list of ACS controls means. No functional change intended. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Logan Gunthorpe <logang@deltatee.com> Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/pci/probe.c')
0 files changed, 0 insertions, 0 deletions