diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2019-09-06 18:36:06 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-11-14 17:44:48 -0600 |
commit | 7cf2cba43f15c74bac46dc5f0326805d25ef514d (patch) | |
tree | d5ba31187c34ea7f54e0253c51c248a6847d50b0 /fs | |
parent | c8de8ed2dcaac82e5d76d467dc0b02e0ee79809b (diff) |
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 'fs')
0 files changed, 0 insertions, 0 deletions