diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-04-21 14:48:43 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-04-21 14:53:03 +0300 |
commit | d99f2487e1de23a2e902d1a359a85a48bfd21fe7 (patch) | |
tree | c6603eaabd56f359ab56383d209e582fc8ad71e7 /net/sunrpc/xprtrdma | |
parent | fb700ef026766c95578aafc0db1b208946e7ad4f (diff) | |
download | linux-d99f2487e1de23a2e902d1a359a85a48bfd21fe7.tar.xz |
NFS: The 'fattr_valid' field in struct nfs_server should be unsigned int
Fix up a static compiler warning:
"fs/nfs/nfs4proc.c:3882 _nfs4_server_capabilities() warn: was expecting
a 64 bit value instead of '(1 << 11)'"
The fix is to convert the fattr_valid field to match the type of the
'valid' field in struct nfs_fattr.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net/sunrpc/xprtrdma')
0 files changed, 0 insertions, 0 deletions