From: Chuck Lever Date: Fri, 26 Oct 2007 17:29:47 +0000 (+0200) Subject: sg_last() should use unsigned loop index variable X-Git-Tag: v2.6.24-rc2~104^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74eb94f7b84f4e631a0e020991fb16f17ce85ab7;p=pandora-kernel.git sg_last() should use unsigned loop index variable Clean up: fix a mixed sign comparison in sg_last() accidentally introduced by commit 70eb8040. The sign of the loop index variable should match the sign of the "nents" argument. Signed-off-by: Chuck Lever Signed-off-by: Jens Axboe --- Reading git-diff-tree failed