diff options
author | Olga Kornievskaia <olga.kornievskaia@gmail.com> | 2019-12-04 21:13:52 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-12-09 17:44:07 +0100 |
commit | 10db651210b2c618eb90a7fea4d6c5132bba7982 (patch) | |
tree | 4ca200eb82f32667ef4070e7e2af78dfd14ce53d /fs/nfsd/nfsd.h | |
parent | nfsd: unlock on error in manage_cpntf_state() (diff) | |
download | linux-10db651210b2c618eb90a7fea4d6c5132bba7982.tar.xz 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; |