aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <[email protected]>2015-12-11 18:03:49 +0800
committerDavid S. Miller <[email protected]>2015-12-14 16:11:59 -0500
commitd856c16d8a2b5afbc28c130ce4f5a4acadb3021d (patch)
tree9ea09e2e1a8d6dc4f9eec6210542cbffe52e3030 /tools/perf/util/scripting-engines/trace-event-python.c
parent79462ad02e861803b3840cc782248c7359451cd9 (diff)
stmmac: dwmac-sunxi: Call exit cleanup function in probe error path
dwmac-sunxi has 2 callbacks that were called from stmmac_platform as part of the probe and remove sequences. Ater the conversion of dwmac-sunxi into a standalone platform driver, the .init function is called before calling into the stmmac driver core, but .exit is not called to clean up if stmmac returns an error. This patch fixes the probe error path. This properly cleans up and releases resources when the driver core fails to probe. Cc: Joachim Eastwood <[email protected]> Fixes: 9a9e9a1edee8 ("stmmac: dwmac-sunxi: turn setup callback into a probe function") Signed-off-by: Chen-Yu Tsai <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions