Revert "net: dsa: mv88e6xxx: Fix out-of-bound access"
This reverts commit 2230f96d6c
.
This commit is contained in:
parent
d79e44c045
commit
6c2054cc66
1 changed files with 1 additions and 2 deletions
|
@ -453,8 +453,7 @@ static irqreturn_t mv88e6xxx_g1_atu_prob_irq_thread_fn(int irq, void *dev_id)
|
|||
trace_mv88e6xxx_atu_full_violation(chip->dev, spid,
|
||||
entry.portvec, entry.mac,
|
||||
fid);
|
||||
if (spid < ARRAY_SIZE(chip->ports))
|
||||
chip->ports[spid].atu_full_violation++;
|
||||
chip->ports[spid].atu_full_violation++;
|
||||
}
|
||||
mv88e6xxx_reg_unlock(chip);
|
||||
|
||||
|
|
Loading…
Reference in a new issue