aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorVladimir Oltean2020-05-13 03:23:27 +0300
committerDavid S. Miller2020-05-12 18:02:42 -0700
commitfb9f2e92864f51d25e790947cca2ac4426a12f9c (patch)
tree9a5578f9da2bd69b082d31d9e7f4b1f8ac36af5b /drivers
parent51fa960d3b5163b1af22efdebcabfccc5d615ad6 (diff)
net: dsa: tag_sja1105: appease sparse checks for ethertype accessors
A comparison between a value from the packet and an integer constant value needs to be done by converting the value from the packet from net->host, or the constant from host->net. Not the other way around. Even though it makes no practical difference, correct that. Fixes: 38b5beeae7a4 ("net: dsa: sja1105: prepare tagger for handling DSA tags and VLAN simultaneously") Signed-off-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions