Skip to contentSkip to conversation

Fix __LITTLE_ENDIAN definition warnings in qla2xxx

PATCH Dave Jones 1 participant 1 message Jul 13, 2009

Subsystems (2)
lore
Share & tools
lore

Dave Jones

author
#0 lore raw

On ppc64, gcc 4.4 spews lots of..

drivers/scsi/qla2xxx/qla_def.h:1485:7: warning: "__LITTLE_ENDIAN" is not defined

drivers/scsi/qla2xxx/qla_def.h +1 -1
index 00aa48d..9fde8bf 100644
@@ -1482,7 +1482,7 @@ typedef union {
 		uint8_t domain;
 		uint8_t area;
 		uint8_t al_pa;
-#elif __LITTLE_ENDIAN
+#elif defined(__LITTLE_ENDIAN)
 		uint8_t al_pa;
 		uint8_t area;
 		uint8_t domain;