Skip to content
Commit ba9c51d2 authored by Li Qiang's avatar Li Qiang Committed by Michael Roth
Browse files

scsi: mptsas: fix the wrong reading size in fetch request



When fetching request, it should read sizeof(*hdr), not the
pointer hdr.

Signed-off-by: default avatarLi Qiang <liqiang6-s@360.cn>
Message-Id: <1489488980-130668-1-git-send-email-liqiang6-s@360.cn>
Cc: qemu-stable@nongnu.org
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit b01a2d07)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 495756ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment