scsi: check req pointer before dereferencing it
commitb0f49d138777fb6609aa2ea96d2c59fb872d2c2d
authorPrasad Joshi <prasadjoshi.linux@gmail.com>
Wed, 19 Mar 2014 01:40:32 +0000 (19 07:10 +0530)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 26 Mar 2014 12:19:22 +0000 (26 13:19 +0100)
tree50755d0964f5ee1be083bbf1b42b7d639ba65328
parent7f6613cedc59fa849105668ae971dc31004bca1c
scsi: check req pointer before dereferencing it

Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/vmw_pvscsi.c