diff options
| author | Hoang Le <[email protected]> | 2021-03-11 03:33:22 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-03-12 02:06:54 +0000 |
| commit | 1980d37565061ab44bdc2f9e4da477d3b9752e81 (patch) | |
| tree | bd41889e1db535df3ccf4f1d2332137175483b8e /net/tipc/node.c | |
| parent | Merge branch 'mlxsw-Implement-sampling-using-mirroring' (diff) | |
| download | kernel-1980d37565061ab44bdc2f9e4da477d3b9752e81.tar.gz kernel-1980d37565061ab44bdc2f9e4da477d3b9752e81.zip | |
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 <[email protected]>
Signed-off-by: Hoang Le <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
