diff options
author | Andrew Lunn <andrew@lunn.ch> | 2018-09-15 00:46:12 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-17 18:03:53 +0300 |
commit | ddca24dfcf1bec608668dd44c45d49397b70f520 (patch) | |
tree | 303ce0dc51816330400573b0e0c003d7dba72c29 /drivers/net/dsa/mv88e6xxx/global1_atu.c | |
parent | 50c6b58a814d86a93c0f6964570f839632854044 (diff) | |
download | linux-ddca24dfcf1bec608668dd44c45d49397b70f520.tar.xz |
net: dsa: mv88e6xxx: Fix ATU Miss Violation
Fix a cut/paste error and a typo which results in ATU miss violations
not being reported.
Fixes: 0977644c5005 ("net: dsa: mv88e6xxx: Decode ATU problem interrupt")
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx/global1_atu.c')
-rw-r--r-- | drivers/net/dsa/mv88e6xxx/global1_atu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/global1_atu.c b/drivers/net/dsa/mv88e6xxx/global1_atu.c index 307410898fc9..5200e4bdce93 100644 --- a/drivers/net/dsa/mv88e6xxx/global1_atu.c +++ b/drivers/net/dsa/mv88e6xxx/global1_atu.c @@ -349,7 +349,7 @@ static irqreturn_t mv88e6xxx_g1_atu_prob_irq_thread_fn(int irq, void *dev_id) chip->ports[entry.portvec].atu_member_violation++; } - if (val & MV88E6XXX_G1_ATU_OP_MEMBER_VIOLATION) { + if (val & MV88E6XXX_G1_ATU_OP_MISS_VIOLATION) { dev_err_ratelimited(chip->dev, "ATU miss violation for %pM portvec %x\n", entry.mac, entry.portvec); |