summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-10-03 12:48:40 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-10-16 23:46:21 -0400
commit05231a3bb7981b01f6933c0a847fcaac25622bfd (patch)
tree1a7f63dad448cd55d9bb68230569478e477f3c53 /include/scsi
parent07f5d563c6e52068cbfcd97ed79f5bb1b1d33067 (diff)
downloadlinux-05231a3bb7981b01f6933c0a847fcaac25622bfd.tar.bz2
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