summaryrefslogtreecommitdiffstats
path: root/net/decnet
diff options
context:
space:
mode:
authorHoang Le <hoang.h.le@dektech.com.au>2021-03-11 10:33:22 +0700
committerDavid S. Miller <davem@davemloft.net>2021-03-11 18:06:54 -0800
commit1980d37565061ab44bdc2f9e4da477d3b9752e81 (patch)
treebd41889e1db535df3ccf4f1d2332137175483b8e /net/decnet
parent1520929e26d54bc3c9e024ee91eee5a19c56b95b (diff)
downloadlinux-1980d37565061ab44bdc2f9e4da477d3b9752e81.tar.bz2
tipc: convert dest node's address to network order
(struct tipc_link_info)->dest is in network order (__be32), so we must convert the value to network order before assigning. The problem detected by sparse: net/tipc/netlink_compat.c:699:24: warning: incorrect type in assignment (different base types) net/tipc/netlink_compat.c:699:24: expected restricted __be32 [usertype] dest net/tipc/netlink_compat.c:699:24: got int Acked-by: Jon Maloy <jmaloy@redhat.com> Signed-off-by: Hoang Le <hoang.h.le@dektech.com.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/decnet')
0 files changed, 0 insertions, 0 deletions