diff options
author | 2017-10-24 11:17:15 +0200 | |
---|---|---|
committer | 2017-10-24 19:07:13 +0900 | |
commit | de3872cd1863dcd077e966dd467f8e50876302aa (patch) | |
tree | 11bd4c42f2da3ec22c298edaf2c95fe8e8b5437b /net/tipc | |
parent | mlxsw: spectrum_dpipe: Fix entries dump of the adjacency table (diff) | |
download | wireguard-linux-de3872cd1863dcd077e966dd467f8e50876302aa.tar.xz wireguard-linux-de3872cd1863dcd077e966dd467f8e50876302aa.zip |
mlxsw: spectrum: mr: Fix various endianness issues
Fix various endianness issues in comparisons and assignments. The fix is
entirely cosmetic as all the values fixed are endianness-agnostic.
Cleans up sparse warnings:
spectrum_mr.c:156:49: warning: restricted __be32 degrades to integer
spectrum_mr.c:206:26: warning: restricted __be32 degrades to integer
spectrum_mr.c:212:31: warning: incorrect type in assignment (different
base types)
spectrum_mr.c:212:31: expected restricted __be32 [usertype] addr4
spectrum_mr.c:212:31: got unsigned int
spectrum_mr.c:214:32: warning: incorrect type in assignment (different
base types)
spectrum_mr.c:214:32: expected restricted __be32 [usertype] addr4
spectrum_mr.c:214:32: got unsigned int
spectrum_mr.c:461:16: warning: restricted __be32 degrades to integer
spectrum_mr.c:461:49: warning: restricted __be32 degrades to integer
Fixes: c011ec1bbfd6 ("mlxsw: spectrum: Add the multicast routing offloading logic")
Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions