SUNRPC: Use unsigned loop and array index in svc_init_buffer()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 14 Apr 2008 16:27:52 +0000 (12:27 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 23 Apr 2008 20:13:43 +0000 (16:13 -0400)
commit0dc220f0815497858db539d27947f3ec83202ace
tree6aabb3947e45496fe78ed9a2500c2862274d2fc3
parent50c8bb13eaaf345caf2e7966667ba1d3e4d68af2
SUNRPC: Use unsigned loop and array index in svc_init_buffer()

Clean up: Suppress a harmless compiler warning.

Index rq_pages[] with an unsigned type.  Make "pages" unsigned as well,
as it never represents a value less than zero.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
net/sunrpc/svc.c