commit | 969daa349f4821a02936af7202b51a9affc7b6da | [log] [tgz] |
---|---|---|
author | Alex Williamson <alex.williamson@redhat.com> | Thu Feb 14 11:35:42 2013 -0700 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Fri Feb 15 11:46:24 2013 -0700 |
tree | f1c69be9b56afcb75efd51a128a4ebff35d91a5c | |
parent | 775c739e0b08fbffb791595a4708460fc978b5b6 [diff] |
PCI: Fix PCI Express Capability accessors for PCI_EXP_FLAGS PCI_EXP_FLAGS_TYPE is a mask, not an offset. Fix it. Previously, pcie_capability_read_word(..., PCI_EXP_FLAGS, ...) would fail. [bhelgaas: tweak changelog] Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> CC: stable@vger.kernel.org # v3.7+