]> git.baikalelectronics.ru Git - kernel.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)
commite22a2d547569892778747596d0ff05ac2ef74e7f
tree47306f9d883222e2382f8e06c44ab43adf5793cf
parent7f87c33bf146a871ee37a8c8f6a18e1d59ba387d
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