[1/3] NFSD fix mismatching type in nfsd4_set_netaddr
diff mbox series

Message ID 20191204201354.17557-2-olga.kornievskaia@gmail.com
State New
Headers show
  • NFSD copy offload fixes
Related show

Commit Message

Olga Kornievskaia Dec. 4, 2019, 8:13 p.m. UTC
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>
 fs/nfsd/nfsd.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff mbox series

diff --git a/fs/nfsd/nfsd.h b/fs/nfsd/nfsd.h
index 0ff6ef9..c679afd 100644
--- a/fs/nfsd/nfsd.h
+++ b/fs/nfsd/nfsd.h
@@ -388,7 +388,7 @@  static inline bool nfsd4_spo_must_allow(struct svc_rqst *rqstp)
 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;