aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2020-09-08 02:25:56 +0300
committerJakub Kicinski <[email protected]>2020-09-07 21:01:50 -0700
commit4349abdb409b04a5ed4ca4d2c1df7ef0cc16f6bd (patch)
tree1198d1cd64f099fd1528b83b6915217de78f2966 /tools/perf/scripts/python
parentc9ebf126f127780a5a125449e4efe6df37b8daa4 (diff)
net: dsa: don't print non-fatal MTU error if not supported
Commit 72579e14a1d3 ("net: dsa: don't fail to probe if we couldn't set the MTU") changed, for some reason, the "err && err != -EOPNOTSUPP" check into a simple "err". This causes the MTU warning to be printed even for drivers that don't have the MTU operations implemented. Fix that. Signed-off-by: Vladimir Oltean <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions