[Skiboot] [PATCH 1/2] Re-order error log component ID defines to be in order

Stewart Smith stewart at linux.vnet.ibm.com
Thu Jul 14 18:05:41 AEST 2016


This makes the (two) duplicates easier to spot

Reported-by: Mukesh Ojha <mukesh02 at linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
---
 include/errorlog.h | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/include/errorlog.h b/include/errorlog.h
index 0a4237f09eba..77c1bfd4506d 100644
--- a/include/errorlog.h
+++ b/include/errorlog.h
@@ -195,20 +195,6 @@ struct opal_err_info {
 
 /* SAPPHIRE SRC componenet ID*/
 #define OPAL_CU				0x1000
-#define OPAL_CN				0x2000
-#define OPAL_CE				0x3000
-#define OPAL_CH				0x4000
-#define OPAL_EL				0x5000
-#define OPAL_NV				0x6000
-#define OPAL_RT				0x7000
-#define OPAL_SU				0x8000
-#define OPAL_SP				0x9000
-#define OPAL_LP				0xa000
-#define OPAL_UA				0xb000
-#define OPAL_OC				0xc000
-#define OPAL_OP				0xd000
-#define OPAL_PH				0xe000
-#define OPAL_PS				0xf000
 #define OPAL_VP				0x1000
 #define OPAL_XS				0x1100
 #define OPAL_PC				0x1200
@@ -220,10 +206,24 @@ struct opal_err_info {
 #define OPAL_DU				0x1800
 #define OPAL_LE				0x1900
 #define OPAL_SE				0x2000
+#define OPAL_CN				0x2000
 #define OPAL_SL				0x2100
 #define OPAL_FP				0x2200
 #define OPAL_IC				0x2300
 #define OPAL_IP				0x2400
+#define OPAL_CE				0x3000
+#define OPAL_CH				0x4000
+#define OPAL_EL				0x5000
+#define OPAL_NV				0x6000
+#define OPAL_RT				0x7000
+#define OPAL_SU				0x8000
+#define OPAL_SP				0x9000
+#define OPAL_LP				0xa000
+#define OPAL_UA				0xb000
+#define OPAL_OC				0xc000
+#define OPAL_OP				0xd000
+#define OPAL_PH				0xe000
+#define OPAL_PS				0xf000
 
 enum opal_reasoncode {
 /* code update */
-- 
2.1.4



More information about the Skiboot mailing list