diff options
author | Olga Kornievskaia <olga.kornievskaia@gmail.com> | 2019-12-04 15:13:52 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-12-09 11:44:07 -0500 |
commit | 10db651210b2c618eb90a7fea4d6c5132bba7982 (patch) | |
tree | 4ca200eb82f32667ef4070e7e2af78dfd14ce53d /fs/nfsd/nfsd.h | |
parent | 5277a79e2dee458f0185e4ebde1cd4e128f014e9 (diff) | |
download | linux-10db651210b2c618eb90a7fea4d6c5132bba7982.tar.gz linux-10db651210b2c618eb90a7fea4d6c5132bba7982.tar.bz2 linux-10db651210b2c618eb90a7fea4d6c5132bba7982.zip |
NFSD fix mismatching type in nfsd4_set_netaddr
Fix __be32 and u32 mismatch in return and assignment.
Reported-by: kbuild test robot <lkp@intel.com>
Fixes: dbd4c2dd8f13 ("NFSD add COPY_NOTIFY operation")
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfsd.h')
-rw-r--r-- | fs/nfsd/nfsd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfsd.h b/fs/nfsd/nfsd.h index 0ff6ef964a48..c679afd9fee9 100644 --- a/fs/nfsd/nfsd.h +++ b/fs/nfsd/nfsd.h @@ -388,7 +388,7 @@ void nfsd_lockd_shutdown(void); extern const u32 nfsd_suppattrs[3][3]; -static inline u32 nfsd4_set_netaddr(struct sockaddr *addr, +static inline __be32 nfsd4_set_netaddr(struct sockaddr *addr, struct nfs42_netaddr *netaddr) { struct sockaddr_in *sin = (struct sockaddr_in *)addr; |