aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpt2sas_debug.h
diff options
context:
space:
mode:
authorKashyap, Desai <kashyap.desai@lsi.com>2011-06-14 10:54:56 +0530
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-15 18:31:39 -0700
commitfb07bb91081d60b29b3eb1372fc0e61ded2be352 (patch)
tree8ce5dc14f256a42743a8dc830b21a1b8d107bc8a /drivers/scsi/mpt2sas/mpt2sas_debug.h
parent3e244baaa667ffb2bf7aa8f7d165d40e4899517d (diff)
mpt2sas: Fixed Big Indian Issues on 32 bit PPC
commit c97951ec46d4b076c2236b77db34eeed6dddb8eb upstream. This patch addresses many endian issues solved by runing sparse with the option __CHECK_ENDIAN__ turned on. Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com> Cc: David Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpt2sas_debug.h')
-rw-r--r--drivers/scsi/mpt2sas/mpt2sas_debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_debug.h b/drivers/scsi/mpt2sas/mpt2sas_debug.h
index 3dcddfeb6f4..9731f8e661b 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_debug.h
+++ b/drivers/scsi/mpt2sas/mpt2sas_debug.h
@@ -164,7 +164,7 @@ static inline void
_debug_dump_mf(void *mpi_request, int sz)
{
int i;
- u32 *mfp = (u32 *)mpi_request;
+ __le32 *mfp = (__le32 *)mpi_request;
printk(KERN_INFO "mf:\n\t");
for (i = 0; i < sz; i++) {