summaryrefslogtreecommitdiffstats
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
committerJames Bottomley <JBottomley@Parallels.com>2011-06-29 16:07:00 -0500
commitc97951ec46d4b076c2236b77db34eeed6dddb8eb (patch)
tree992d5e85f3dbc23bb702e9a295cae5c477683037 /drivers/scsi/mpt2sas/mpt2sas_debug.h
parentd7e01dc669e3f69d396ce3972ba87b7d678a94e4 (diff)
downloadlinux-c97951ec46d4b076c2236b77db34eeed6dddb8eb.tar.bz2
[SCSI] mpt2sas: Fixed Big Indian Issues on 32 bit PPC
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>
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 3dcddfeb6f4c..9731f8e661bf 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++) {