]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
SUNRPC: Use unsigned index when looping over arrays
authorChuck Lever <chuck.lever@oracle.com>
Mon, 14 Apr 2008 16:27:45 +0000 (12:27 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 23 Apr 2008 20:13:43 +0000 (16:13 -0400)
commit50c8bb13eaaf345caf2e7966667ba1d3e4d68af2
treeb3bfef60963218d9c5ba4ece05561fcde20e7a77
parentc0401ea008fb7c785a93428752d69dccafb127ec
SUNRPC: Use unsigned index when looping over arrays

Clean up: Suppress a harmless compiler warning in the RPC server related
to array indices.

ARRAY_SIZE() returns a size_t, so use unsigned type for a loop index when
looping over arrays.

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