diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2017-05-19 14:40:50 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-06-13 11:44:23 -0500 |
commit | 2f686f1d9beee135de6d08caea707ec7bfc916d4 (patch) | |
tree | 90669c57fe05c9d758b1b0184b69a739b915d988 /fs/xattr.c | |
parent | 92a16c86299c64f58f320e491977408ba31b8c3c (diff) | |
download | lwn-2f686f1d9beee135de6d08caea707ec7bfc916d4.tar.gz lwn-2f686f1d9beee135de6d08caea707ec7bfc916d4.zip |
PCI: Correct PCI_STD_RESOURCE_END usage
PCI_STD_RESOURCE_END is (confusingly) the index of the last valid BAR, not
the *number* of BARs. To iterate through all possible BARs, we need to
include PCI_STD_RESOURCE_END.
Fixes: 9fe373f9997b ("PCI: Increase IBM ipr SAS Crocodile BARs to at least system page size")
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'fs/xattr.c')
0 files changed, 0 insertions, 0 deletions