summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2007-10-26 21:29:47 +0400
committerJens Axboe <jens.axboe@oracle.com>2007-10-29 11:18:04 +0300
commit74eb94f7b84f4e631a0e020991fb16f17ce85ab7 (patch)
tree9d08217290654cefa5505d085a032ca60d021e5f /samples
parent30fa0d0f0c0ab2aa0d4c2f88eda49eaa19ea6f8d (diff)
downloadlinux-74eb94f7b84f4e631a0e020991fb16f17ce85ab7.tar.xz
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions