[SCSI] megaraid_sas: fix 64 bit sense pointer truncation
authorYang, Bo <Bo.Yang@lsi.com>
Tue, 6 Oct 2009 20:52:20 +0000 (14:52 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 29 Oct 2009 17:03:21 +0000 (13:03 -0400)
commit7b2519afa1abd1b9f63aa1e90879307842422dae
tree39ed8395471eb79e5016e8d3878d489d0d2b81b7
parent7e8a75f4dfbff173977b2f58799c3eceb7b09afd
[SCSI] megaraid_sas: fix 64 bit sense pointer truncation

The current sense pointer is cast to a u32 pointer, which can truncate
on 64 bits.  Fix by using unsigned long instead.

Signed-off-by Bo Yang<bo.yang@lsi.com>
Cc: stable@kernel.org
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/megaraid/megaraid_sas.c