Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c9b65a7da694bd774398283b9bd860f7e3234432
Commit:     c9b65a7da694bd774398283b9bd860f7e3234432
Parent:     307d46e83291ef58b2c3b6d33b7ec6dd163d58b9
Author:     Linas Vepstas <[EMAIL PROTECTED]>
AuthorDate: Fri Nov 16 05:57:27 2007 +1100
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Mon Dec 3 13:56:26 2007 +1100

    [POWERPC] EEH: Be careful when identifying "empty" slots.
    
    If an "empty" slot is failing, make sure its a permanent failure;
    else process the error normally.
    
    Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/powerpc/platforms/pseries/eeh.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/platforms/pseries/eeh.c 
b/arch/powerpc/platforms/pseries/eeh.c
index 42a30b6..aa14a85 100644
--- a/arch/powerpc/platforms/pseries/eeh.c
+++ b/arch/powerpc/platforms/pseries/eeh.c
@@ -546,7 +546,7 @@ int eeh_dn_check_failure(struct device_node *dn, struct 
pci_dev *dev)
 
        /* Note that config-io to empty slots may fail;
         * they are empty when they don't have children. */
-       if ((rets[0] == 5) && (dn->child == NULL)) {
+       if ((rets[0] == 5) && (rets[2] == 0) && (dn->child == NULL)) {
                false_positives++;
                pdn->eeh_false_positives ++;
                rc = 0;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to