On 10/8/19 9:50 AM, Douglas Gilbert wrote:
> Replace sg_fill_request_table() with sg_fill_request_element().
> Reduce the size of the sg_rq_end_io() function by breaking out
> some sense buffer checks into sg_check_sense(). Reduce the
> size of the sg_start_req() function with sg_set_map_data()
> helper. All code refactoring, no logical change.
> 
> Signed-off-by: Douglas Gilbert <dgilb...@interlog.com>
> ---
>  drivers/scsi/sg.c | 211 ++++++++++++++++++++++++++--------------------
>  1 file changed, 118 insertions(+), 93 deletions(-)
> 
Reviewed-by: Hannes Reinecke <h...@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                   Teamlead Storage & Networking
h...@suse.de                                      +49 911 74053 688
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 247165 (AG München), GF: Felix Imendörffer

Reply via email to