summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorChristoph Hellwig2017-10-03 12:48:40 +0200
committerMartin K. Petersen2017-10-17 05:46:21 +0200
commit05231a3bb7981b01f6933c0a847fcaac25622bfd (patch)
tree1a7f63dad448cd55d9bb68230569478e477f3c53 /include/scsi
parentscsi: scsi_transport_sas: check reply payload length instead of bidi request (diff)
downloadkernel-qcow2-linux-05231a3bb7981b01f6933c0a847fcaac25622bfd.tar.gz
kernel-qcow2-linux-05231a3bb7981b01f6933c0a847fcaac25622bfd.tar.xz
kernel-qcow2-linux-05231a3bb7981b01f6933c0a847fcaac25622bfd.zip
scsi: qla2xxx: don't break the bsg-lib abstractions
Always use bsg_job->reply instead of scsi_req(bsg_job->req)->sense), as they always point to the same memory. Never set scsi_req(bsg_job->req)->result and we'll set that value through bsg_job_done. [mkp: applied by hand, fixed whitespace] Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Himanshu Madhani <himanshu.madhani@cavium.com> Tested-by: Himanshu Madhani <himanshu.madhani@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions