aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2021-02-04 18:33:51 +0200
committerJakub Kicinski <[email protected]>2021-02-04 20:22:00 -0800
commit8fd54a73b7cda11548154451bdb4bde6d8ff74c7 (patch)
treeacfaafe203d44286c9be0a1c86e0b1177e4528ce /tools/perf/util/scripting-engines/trace-event-python.c
parent07bf34a50e327975b21a9dee64d220c3dcb72ee9 (diff)
net: dsa: call teardown method on probe failure
Since teardown is supposed to undo the effects of the setup method, it should be called in the error path for dsa_switch_setup, not just in dsa_switch_teardown. Fixes: 5e3f847a02aa ("net: dsa: Add teardown callback for drivers") Signed-off-by: Vladimir Oltean <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions