Re: [PATCH] scatterlist: refactor the sg_nents

2012-09-28 Thread Jens Axboe
On 2012-09-27 16:28, Maxim Levitsky wrote: > Replace 'while' with 'for' as suggested by Tejun Heo Thanks, purtier :-) -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vge

[PATCH] scatterlist: refactor the sg_nents

2012-09-27 Thread Maxim Levitsky
Replace 'while' with 'for' as suggested by Tejun Heo Signed-off-by: Maxim Levitsky --- lib/scatterlist.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/scatterlist.c b/lib/scatterlist.c index 5cd9cdc..3675452b 100644 --- a/lib/scatterlist.c +++ b/lib/scatterlis