mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-22 12:33:59 +08:00
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>
This commit is contained in:
parent
5277a79e2d
commit
10db651210
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user