]> git.karo-electronics.de Git - linux-beck.git/commit
megaraid_sas: Fix SMAP issue
authorSumit Saxena <sumit.saxena@avagotech.com>
Thu, 28 Jan 2016 15:44:26 +0000 (21:14 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 24 Feb 2016 02:27:02 +0000 (21:27 -0500)
commitea1c928bb6051ec4ccf24826898aa2361eaa71e5
treeab976868d1a39c7463c787b80edea275851e0a9b
parent8f67c8c518f324874e8caf93d1f4468d25754333
megaraid_sas: Fix SMAP issue

Inside compat IOCTL hook of driver, driver was using wrong address of
ioc->frame.raw which leads sense_ioc_ptr to be calculated wrongly and
failing IOCTL.

Signed-off-by: Sumit Saxena <sumit.saxena@avagotech.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/megaraid/megaraid_sas_base.c