Re: [PATCH 6/6] lib/scatterlist: Drop order argument from sgl_free_n_order

From: Bart Van Assche
Date: Thu Mar 08 2018 - 10:56:55 EST


On Thu, 2018-03-08 at 07:59 +0000, Tvrtko Ursulin wrote:
> However there is a different bug in my patch relating to the last entry
> which can have shorter length from the rest. So get_order on the last
> entry is incorrect - I have to store the deduced order and carry it over.

Will that work if there is only one entry in the list and if it is a short
entry?

Bart.