diff options
author | Andrew Lunn <andrew@lunn.ch> | 2020-07-05 21:30:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-05 15:31:58 -0700 |
commit | 802734ad7753294dae69c431c45e0503dc33e97a (patch) | |
tree | 52485395669843389e40ea3fb4c2a0960b27f220 /lib/test_debug_virtual.c | |
parent | ed6444ea03841d6a24093eb25dca2eecc1860ca9 (diff) | |
download | linux-stable-802734ad7753294dae69c431c45e0503dc33e97a.tar.gz linux-stable-802734ad7753294dae69c431c45e0503dc33e97a.tar.bz2 linux-stable-802734ad7753294dae69c431c45e0503dc33e97a.zip |
net: dsa: tag_lan9303: Fix __be16 warnings
net/dsa/tag_lan9303.c:76:24: warning: incorrect type in assignment (different base types)
net/dsa/tag_lan9303.c:76:24: expected unsigned short [usertype]
net/dsa/tag_lan9303.c:76:24: got restricted __be16 [usertype]
net/dsa/tag_lan9303.c:80:24: warning: incorrect type in assignment (different base types)
net/dsa/tag_lan9303.c:80:24: expected unsigned short [usertype]
net/dsa/tag_lan9303.c:80:24: got restricted __be16 [usertype]
net/dsa/tag_lan9303.c:106:31: warning: restricted __be16 degrades to integer
net/dsa/tag_lan9303.c:111:24: warning: cast to restricted __be16
net/dsa/tag_lan9303.c:111:24: warning: cast to restricted __be16
net/dsa/tag_lan9303.c:111:24: warning: cast to restricted __be16
net/dsa/tag_lan9303.c:111:24: warning: cast to restricted __be16
Make use of __be16 where appropriate to fix these warnings.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_debug_virtual.c')
0 files changed, 0 insertions, 0 deletions