This is a note to let you know that I've just added the patch titled

    PCI/AER: pci_get_domain_bus_and_slot() call missing required pci_dev_put()

to the 3.7-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-aer-pci_get_domain_bus_and_slot-call-missing-required-pci_dev_put.patch
and it can be found in the queue-3.7 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From a82b6af37d20bfe6e99a4d890f1cf1d89059929f Mon Sep 17 00:00:00 2001
From: Betty Dall <[email protected]>
Date: Sun, 13 Jan 2013 15:46:18 -0700
Subject: PCI/AER: pci_get_domain_bus_and_slot() call missing required 
pci_dev_put()

From: Betty Dall <[email protected]>

commit a82b6af37d20bfe6e99a4d890f1cf1d89059929f upstream.

The function aer_recover_queue() calls pci_get_domain_bus_and_slot(), which
requires that the caller decrement the reference count with pci_dev_put().
This patch adds the missing call to pci_dev_put().

Signed-off-by: Betty Dall <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Shuah Khan <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/pci/pcie/aer/aerdrv_core.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/pci/pcie/aer/aerdrv_core.c
+++ b/drivers/pci/pcie/aer/aerdrv_core.c
@@ -616,6 +616,7 @@ static void aer_recover_work_func(struct
                        continue;
                }
                do_recovery(pdev, entry.severity);
+               pci_dev_put(pdev);
        }
 }
 #endif


Patches currently in stable-queue which might be from [email protected] are

queue-3.7/pci-aer-pci_get_domain_bus_and_slot-call-missing-required-pci_dev_put.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

Reply via email to