diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-06-20 21:15:42 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-06-21 04:27:14 +0300 |
commit | c8d9cf22cf0f89d1249a57ade5a1949c62075ce6 (patch) | |
tree | 34427e408f352b041ddd2d2c8c4223ed54429593 /drivers/ide/ide-atapi.c | |
parent | ca18d6f769d22e931d3ba1e8d1ae81953547a417 (diff) | |
download | linux-c8d9cf22cf0f89d1249a57ade5a1949c62075ce6.tar.xz |
block: Change argument type of scsi_req_init()
Since scsi_req_init() works on a struct scsi_request, change the
argument type into struct scsi_request *.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/ide/ide-atapi.c')
-rw-r--r-- | drivers/ide/ide-atapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-atapi.c b/drivers/ide/ide-atapi.c index 37f61acf5a35..14d1e7d9a1d6 100644 --- a/drivers/ide/ide-atapi.c +++ b/drivers/ide/ide-atapi.c @@ -199,7 +199,7 @@ void ide_prep_sense(ide_drive_t *drive, struct request *rq) memset(sense, 0, sizeof(*sense)); blk_rq_init(rq->q, sense_rq); - scsi_req_init(sense_rq); + scsi_req_init(req); err = blk_rq_map_kern(drive->queue, sense_rq, sense, sense_len, GFP_NOIO); |