diff options
author | Vivien Didelot <[email protected]> | 2019-08-09 18:47:58 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-08-11 21:27:15 -0700 |
commit | 1c6463b6fc36f2261df1a68ee13a5ebd980914b1 (patch) | |
tree | 5c87b0cde12fa6a5989dfad735ac29f7226618ad /tools/perf/scripts/python/check-perf-trace.py | |
parent | 2ad4da776bdbad92e876aefe2f7bae3e691bbda4 (diff) |
net: dsa: mv88e6xxx: fix SMI bit checking
The current mv88e6xxx_smi_direct_wait function is only used to check
the 16th bit of the (16-bit) SMI Command register. But the bit shift
operation is not enough if we eventually use this function to check
other bits, thus replace it with a mask.
Fixes: e7ba0fad9c53 ("net: dsa: mv88e6xxx: refine SMI support")
Signed-off-by: Vivien Didelot <[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