aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-03-03 18:20:18 +0100
committerMark Brown <broonie@kernel.org>2023-03-06 21:18:07 +0000
commit74af1328a694d3a2a176935c93db8ad406aacb81 (patch)
tree5453820e1350b4a2837886457a0bc328f57b9ed7 /tools/perf/scripts/python/stackcollapse.py
parentspi: sh-hspi: Convert to platform remove callback returning void (diff)
downloadlinux-74af1328a694d3a2a176935c93db8ad406aacb81.tar.gz
linux-74af1328a694d3a2a176935c93db8ad406aacb81.zip
spi: sh-msiof: 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. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20230303172041.2103336-65-u.kleine-koenig@pengutronix.de Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
012171c102910ce17ee632a3cccb44&follow=1'>spi: uniphier: Fix FIFO thresholdKunihiko Hayashi1-12/+19 2019-12-24udp: fix integer overflow while computing available space in sk_rcvbufAntonio Messina1-1/+1 2019-12-24io-wq: add cond_resched() to worker threadHillf Danton1-0/+2 2019-12-23ALSA: hda - Apply sync-write workaround to old Intel platforms, tooTakashi Iwai1-4/+5 2019-12-23rseq/selftests: Clarify rseq_prepare_unload() helper requirementsMathieu Desnoyers1-5/+7 2019-12-23rseq/selftests: Fix: Namespace gettid() for compatibility with glibc 2.30Mathieu Desnoyers1-8/+10