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>
This commit is contained in:

committed by
Jens Axboe

parent
ca18d6f769
commit
c8d9cf22cf
@@ -27,6 +27,6 @@ static inline void scsi_req_free_cmd(struct scsi_request *req)
|
||||
kfree(req->cmd);
|
||||
}
|
||||
|
||||
void scsi_req_init(struct request *);
|
||||
void scsi_req_init(struct scsi_request *req);
|
||||
|
||||
#endif /* _SCSI_SCSI_REQUEST_H */
|
||||
|
Reference in New Issue
Block a user