On Mon, 2017-11-06 at 08:10 +0100, Hannes Reinecke wrote: > On 11/03/2017 11:23 PM, Bart Van Assche wrote: > > Use the sgl_alloc_order() and sgl_free() functions instead of open > > coding these functions. > > > > Signed-off-by: Bart Van Assche <bart.vanassche@xxxxxxx> > > Cc: Nicholas A. Bellinger <nab@xxxxxxxxxxxxxxx> > > Cc: Christoph Hellwig <hch@xxxxxx> > > Cc: Hannes Reinecke <hare@xxxxxxxx> > > Cc: Sagi Grimberg <sagi@xxxxxxxxxxx> > > --- > > drivers/target/Kconfig | 1 + > > drivers/target/target_core_transport.c | 46 +++------------------------------- > > 2 files changed, 5 insertions(+), 42 deletions(-) > > > Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> > Nice improvement to turn this into common code. Acked-by: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>