diff options
author | Christoph Hellwig | 2017-10-03 12:48:40 +0200 |
---|---|---|
committer | Martin K. Petersen | 2017-10-16 23:46:21 -0400 |
commit | 05231a3bb7981b01f6933c0a847fcaac25622bfd (patch) | |
tree | 1a7f63dad448cd55d9bb68230569478e477f3c53 /include/scsi | |
parent | 07f5d563c6e52068cbfcd97ed79f5bb1b1d33067 (diff) |
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