Commit d10a8f05 authored by Yang, Bo's avatar Yang, Bo Committed by Greg Kroah-Hartman
Browse files

SCSI: megaraid_sas: fix 64 bit sense pointer truncation



commit 7b2519af upstream.

The current sense pointer is cast to a u32 pointer, which can truncate
on 64 bits.  Fix by using unsigned long instead.

Signed-off-by Bo Yang<bo.yang@lsi.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 79daedf8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment