diff options
| author | Kashyap, Desai <[email protected]> | 2009-12-16 13:23:04 +0000 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2010-02-09 00:19:40 +0000 |
| commit | 22c88425e03e8476176375ab0457c88ff3a5b68c (patch) | |
| tree | 66b41c53bf3d5896393bc70322f45d7894807bb0 /drivers/scsi/mpt2sas/mpi/mpi2_sas.h | |
| parent | [SCSI] mpt2sas: Set ioc->fwfault_debug to the cmd line option mpt2sas_fwfault... (diff) | |
| download | kernel-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
