diff options
author | Bart Van Assche | 2017-08-25 22:46:33 +0200 |
---|---|---|
committer | Martin K. Petersen | 2017-08-25 23:08:08 +0200 |
commit | 0624cbb1e2e64ae4d7d55dc81fc39a0af87a2bd7 (patch) | |
tree | e070944a3dd8aeb9583276371d5fa412a3b4e721 /drivers/scsi/Makefile | |
parent | scsi: Use blk_mq_rq_to_pdu() to convert a request to a SCSI command pointer (diff) | |
download | kernel-qcow2-linux-0624cbb1e2e64ae4d7d55dc81fc39a0af87a2bd7.tar.gz kernel-qcow2-linux-0624cbb1e2e64ae4d7d55dc81fc39a0af87a2bd7.tar.xz kernel-qcow2-linux-0624cbb1e2e64ae4d7d55dc81fc39a0af87a2bd7.zip |
scsi: sd: sr: Convert two assignments into warning statements
Before scsi_prep_fn() calls the ULP .init_command() callback
function it stores the SCSI command pointer in request.special.
This means that the SCpnt = rq->special assignments in the sd
and sr drivers assign a pointer to itself. Hence convert these
two assignment statements into warning statements.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/Makefile')
0 files changed, 0 insertions, 0 deletions