]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[SCSI] megaraid_sas: fix for 32bit apps
authorTomas Henzl <thenzl@redhat.com>
Thu, 11 Feb 2010 17:01:50 +0000 (18:01 +0100)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 19 Feb 2010 21:11:53 +0000 (15:11 -0600)
commitb3dc1a212e5167984616445990c76056034f8eeb
tree77d8d97628845a199046004973f15534a50aebf1
parent6409ea65b3b81ef693cbbc7c4b2300e50a4219dd
[SCSI] megaraid_sas: fix for 32bit apps

It looks like this patch -

commit 7b2519afa1abd1b9f63aa1e90879307842422dae
Author: Yang, Bo <Bo.Yang@lsi.com>
Date:   Tue Oct 6 14:52:20 2009 -0600

    [SCSI] megaraid_sas: fix 64 bit sense pointer truncation

has caused a problem for 32bit programs with 64bit os -

http://bugzilla.kernel.org/show_bug.cgi?id=15001

fix by converting the user space 32bit pointer to a 64 bit one when
needed.

[jejb: fix up some 64 bit warnings]
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Cc: Bo Yang <Bo.Yang@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/megaraid/megaraid_sas.c