aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2020-07-27 01:34:40 +0200
committerDavid S. Miller <[email protected]>2020-07-28 17:44:23 -0700
commit788abc6d9d278ed6fa1fa94db2098481a04152b7 (patch)
tree294220b59b956e1590f5667f1169d02f421b4c4c /tools/perf/scripts/python/check-perf-trace.py
parent15ab7906cc9290afb006df1bb1074907fbcc7061 (diff)
net: dsa: rtl8366: Fix VLAN set-up
Alter the rtl8366_vlan_add() to call rtl8366_set_vlan() inside the loop that goes over all VIDs since we now properly support calling that function more than once. Augment the loop to postincrement as this is more intuitive. The loop moved past the last VID but called rtl8366_set_vlan() with the port number instead of the VID, assuming a 1-to-1 correspondence between ports and VIDs. This was also a bug. Cc: DENG Qingfang <[email protected]> Cc: Mauri Sandberg <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Fixes: d8652956cf37 ("net: dsa: realtek-smi: Add Realtek SMI driver") Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions