All of lore.kernel.org
 help / color / mirror / Atom feed
* Fix __LITTLE_ENDIAN definition warnings in qla2xxx
@ 2009-07-13 20:27 Dave Jones
  0 siblings, 0 replies; only message in thread
From: Dave Jones @ 2009-07-13 20:27 UTC (permalink / raw)
  To: linux-scsi; +Cc: Linux Kernel

On ppc64, gcc 4.4 spews lots of..

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

Signed-off-by: Dave Jones <davej@redhat.com>

diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index 00aa48d..9fde8bf 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -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;

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-13 20:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-13 20:27 Fix __LITTLE_ENDIAN definition warnings in qla2xxx Dave Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.