Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757049AbZGMU1t (ORCPT ); Mon, 13 Jul 2009 16:27:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756669AbZGMU1t (ORCPT ); Mon, 13 Jul 2009 16:27:49 -0400 Received: from mx2.redhat.com ([66.187.237.31]:57587 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755636AbZGMU1s (ORCPT ); Mon, 13 Jul 2009 16:27:48 -0400 Date: Mon, 13 Jul 2009 16:27:46 -0400 From: Dave Jones To: linux-scsi@vger.kernel.org Cc: Linux Kernel Subject: Fix __LITTLE_ENDIAN definition warnings in qla2xxx Message-ID: <20090713202746.GA14479@redhat.com> Mail-Followup-To: Dave Jones , linux-scsi@vger.kernel.org, Linux Kernel MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 790 Lines: 24 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 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; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/