summaryrefslogtreecommitdiff
path: root/net/dsa/tag_qca.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2020-07-05 22:30:07 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-06 01:31:58 +0300
commit04d63f9d91d018d4ec31832677f4045706defc18 (patch)
tree358e5b0dfb12ed6ba4dbadefc07678e848736f33 /net/dsa/tag_qca.c
parent802734ad7753294dae69c431c45e0503dc33e97a (diff)
downloadlinux-04d63f9d91d018d4ec31832677f4045706defc18.tar.xz
net: dsa: tag_mtk: Fix warnings for __be16
net/dsa/tag_mtk.c:84:13: warning: incorrect type in assignment (different base types) net/dsa/tag_mtk.c:84:13: expected restricted __be16 [usertype] hdr net/dsa/tag_mtk.c:84:13: got int net/dsa/tag_mtk.c:94:17: warning: restricted __be16 degrades to integer The result of a ntohs() is not __be16, but u16. 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 'net/dsa/tag_qca.c')
0 files changed, 0 insertions, 0 deletions