From: Kashyap, Desai Date: Wed, 16 Dec 2009 13:23:04 +0000 (+0530) Subject: [SCSI] mpt2sas: Use compat_ptr to setup the pointer compatibility. X-Git-Tag: v2.6.34-rc1~284^2~116 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22c88425e03e8476176375ab0457c88ff3a5b68c;p=pandora-kernel.git [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 Reviewed-by: Eric Moore Signed-off-by: James Bottomley --- Reading git-diff-tree failed