aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorYangtao Li <[email protected]>2023-07-27 15:00:49 +0800
committerUlf Hansson <[email protected]>2023-08-15 12:48:21 +0200
commitde29ade4fc35d27e22d4060f241c3dcae480d6c4 (patch)
treeb109e894b40b99dd120a22b00cb5c31f87b88fb3 /tools/perf/scripts/python/flamegraph.py
parent854034e2bcccf932d0a0d3f9cf3149d6ebcf145c (diff)
mmc: sdhci_am654: Convert to platform remove callback returning void
The .remove() callback for a platform driver returns an int which makes many driver authors wrongly assume it's possible to do error handling by returning an error code. However the value returned is (mostly) ignored and this typically results in resource leaks. To improve here there is a quest to make the remove callback return void. In the first step of this quest all drivers are converted to .remove_new() which already returns void. Trivially convert this driver from always returning zero in the remove callback to the void returning variant. Cc: Uwe Kleine-König <[email protected]> Signed-off-by: Yangtao Li <[email protected]> Acked-by: Adrian Hunter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions