rpms/kernel/devel linux-2.6-ppc64-eeh-panic.patch,1.3,1.4
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Thu Nov 17 00:43:16 UTC 2005
Author: dwmw2
Update of /cvs/dist/rpms/kernel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv17894
Modified Files:
linux-2.6-ppc64-eeh-panic.patch
Log Message:
Check return value first
linux-2.6-ppc64-eeh-panic.patch:
arch/powerpc/platforms/pseries/eeh.c | 3 ++-
include/asm-powerpc/eeh.h | 4 +++-
2 files changed, 5 insertions(+), 2 deletions(-)
Index: linux-2.6-ppc64-eeh-panic.patch
===================================================================
RCS file: /cvs/dist/rpms/kernel/devel/linux-2.6-ppc64-eeh-panic.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- linux-2.6-ppc64-eeh-panic.patch 16 Nov 2005 13:33:25 -0000 1.3
+++ linux-2.6-ppc64-eeh-panic.patch 17 Nov 2005 00:43:12 -0000 1.4
@@ -14,7 +14,7 @@
* which does further tests out of line.
*/
-#define EEH_POSSIBLE_ERROR(val, type) ((val) == (type)~0)
-+#define EEH_POSSIBLE_ERROR(val, type) (eeh_subsystem_enabled && (val) == (type)~0)
++#define EEH_POSSIBLE_ERROR(val, type) ((val) == (type)~0 && eeh_subsystem_enabled)
/*
* Reads from a device which has been isolated by EEH will return
More information about the fedora-cvs-commits
mailing list