diff options
author | Kashyap, Desai <[email protected]> | 2009-12-16 18:53:04 +0530 |
---|---|---|
committer | James Bottomley <[email protected]> | 2010-02-08 18:19:40 -0600 |
commit | 22c88425e03e8476176375ab0457c88ff3a5b68c (patch) | |
tree | 66b41c53bf3d5896393bc70322f45d7894807bb0 /drivers/scsi/mpt2sas/mpt2sas_scsih.c | |
parent | e75b9b6d9d81e35aed5ef2692285c4948e173c5c (diff) |
[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/mpt2sas_scsih.c')
0 files changed, 0 insertions, 0 deletions