]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
NFS: When displaying session slot numbers, use "%u" consistently
authorChuck Lever <chuck.lever@oracle.com>
Fri, 9 Aug 2013 16:47:51 +0000 (12:47 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 3 Sep 2013 19:26:30 +0000 (15:26 -0400)
commite8d92382dd65a3dd77ff533b09815c3dc65fa9a9
tree47306f9d883222e2382f8e06c44ab43adf5793cf
parentba6c05928dcafc7e0a0c8e4ee6a293ba47190fd4
NFS: When displaying session slot numbers, use "%u" consistently

Clean up, since slot and sequence numbers are all unsigned anyway.

Among other things, squelch compiler warnings:

linux/fs/nfs/nfs4proc.c: In function ‘nfs4_setup_sequence’:
linux/fs/nfs/nfs4proc.c:703:2: warning: signed and unsigned type in
conditional expression [-Wsign-compare]

and

linux/fs/nfs/nfs4session.c: In function ‘nfs4_alloc_slot’:
linux/fs/nfs/nfs4session.c:151:31: warning: signed and unsigned type in
conditional expression [-Wsign-compare]

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/callback_proc.c
fs/nfs/nfs4proc.c
fs/nfs/nfs4session.c