Commit 10db6512 authored by Olga Kornievskaia's avatar Olga Kornievskaia Committed by J. Bruce Fields

NFSD fix mismatching type in nfsd4_set_netaddr

Fix __be32 and u32 mismatch in return and assignment.
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Fixes: dbd4c2dd8f13 ("NFSD add COPY_NOTIFY operation")
Signed-off-by: default avatarOlga Kornievskaia <kolga@netapp.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 5277a79e
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment