On 10/8/19 9:50 AM, Douglas Gilbert wrote: > Replace the sg_allow_access() function with sg_fetch_cmnd() > which does a little more. Change sg_finish_scsi_blk_rq() from an > int to a void returning function. Rename sg_remove_request() > to sg_deact_request(). Other changes, mainly cosmetic. > > Signed-off-by: Douglas Gilbert <dgilbert@xxxxxxxxxxxx> > --- > drivers/scsi/sg.c | 149 +++++++++++++++++++++++++--------------------- > 1 file changed, 80 insertions(+), 69 deletions(-) > Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@xxxxxxx +49 911 74053 688 SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 247165 (AG München), GF: Felix Imendörffer