summaryrefslogtreecommitdiff
path: root/LICENSES
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2019-09-07 02:36:06 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-22 10:05:25 +0300
commitee527f4e11a631ba4230bbcc5ec1493c8de2593d (patch)
treec1b14ca05981a000a276cb1515abe2795d53baf5 /LICENSES
parent7cf431ab8338cac68a047ecb999d7bac70ee0fb8 (diff)
downloadlinux-ee527f4e11a631ba4230bbcc5ec1493c8de2593d.tar.xz
PCI: Unify ACS quirk desired vs provided checking
[ Upstream commit 7cf2cba43f15c74bac46dc5f0326805d25ef514d ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions