commit | 74eb94f7b84f4e631a0e020991fb16f17ce85ab7 | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Fri Oct 26 19:29:47 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Mon Oct 29 09:18:04 2007 +0100 |
tree | 9d08217290654cefa5505d085a032ca60d021e5f | |
parent | 30fa0d0f0c0ab2aa0d4c2f88eda49eaa19ea6f8d [diff] |
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 <chuck.lever@oracle.com> Signed-off-by: Jens Axboe <axboe@carl.home.kernel.dk>