This is a note to let you know that I've just added the patch titled
PCI: Fix PCI Express Capability accessors for PCI_EXP_FLAGS
to the 3.8-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
pci-fix-pci-express-capability-accessors-for-pci_exp_flags.patch
and it can be found in the queue-3.8 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 969daa349f4821a02936af7202b51a9affc7b6da Mon Sep 17 00:00:00 2001
From: Alex Williamson <[email protected]>
Date: Thu, 14 Feb 2013 11:35:42 -0700
Subject: PCI: Fix PCI Express Capability accessors for PCI_EXP_FLAGS
From: Alex Williamson <[email protected]>
commit 969daa349f4821a02936af7202b51a9affc7b6da upstream.
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 <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/pci/access.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/pci/access.c
+++ b/drivers/pci/access.c
@@ -515,7 +515,7 @@ static bool pcie_capability_reg_implemen
return false;
switch (pos) {
- case PCI_EXP_FLAGS_TYPE:
+ case PCI_EXP_FLAGS:
return true;
case PCI_EXP_DEVCAP:
case PCI_EXP_DEVCTL:
Patches currently in stable-queue which might be from
[email protected] are
queue-3.8/pci-fix-pci-express-capability-accessors-for-pci_exp_flags.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html