aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas/mpi/mpi2_sas.h
diff options
context:
space:
mode:
authorKashyap, Desai <[email protected]>2009-12-16 13:23:04 +0000
committerJames Bottomley <[email protected]>2010-02-09 00:19:40 +0000
commit22c88425e03e8476176375ab0457c88ff3a5b68c (patch)
tree66b41c53bf3d5896393bc70322f45d7894807bb0 /drivers/scsi/mpt2sas/mpi/mpi2_sas.h
parent[SCSI] mpt2sas: Set ioc->fwfault_debug to the cmd line option mpt2sas_fwfault... (diff)
downloadkernel-22c88425e03e8476176375ab0457c88ff3a5b68c.tar.gz
kernel-22c88425e03e8476176375ab0457c88ff3a5b68c.zip
[SCSI] mpt2sas: Use compat_ptr to setup the pointer compatibility.
On ppc64, an 32bit application was failing due to data buffers not being copied properly from user to kernel memory. The problem due to improper conversion of 32 to 64 bit pointers. The fix is to use compat_ptr to setup the pointer compatibility in the routine _ctl_compat_mpt_command. Signed-off-by: Kashyap Desai <[email protected]> Reviewed-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_sas.h')
0 files changed, 0 insertions, 0 deletions