On 10/8/19 9:50 AM, Douglas Gilbert wrote: > Rename sg_build_indirect() to sg_mk_sgat() and sg_remove_scat() > to sg_remove_sgat(). Re-implement those functions. Add > sg_calc_sgat_param() to calculate various scatter gather > list parameters. Some other minor clean-ups. > > Signed-off-by: Douglas Gilbert <dgilbert@xxxxxxxxxxxx> > --- > drivers/scsi/sg.c | 275 +++++++++++++++++++++++++--------------------- > 1 file changed, 152 insertions(+), 123 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