aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-04-13 15:38:29 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-04-20 14:16:39 +0200
commit15f44da0ab041e6f4d2218468eec792ebfa25665 (patch)
tree93f3730cd6e801442a4635a75da8648bbd364540 /tools/perf/scripts/python/stackcollapse.py
parentw1: gpio: remove unnecessary ENOMEM messages (diff)
downloadlinux-15f44da0ab041e6f4d2218468eec792ebfa25665.tar.gz
linux-15f44da0ab041e6f4d2218468eec792ebfa25665.zip
spmi: hisi-spmi-controller: 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. Link: https://lore.kernel.org/r/20230306073446.2194048-2-u.kleine-koenig@pengutronix.de Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Stephen Boyd <sboyd@kernel.org> Link: https://lore.kernel.org/r/20230413223834.4084793-2-sboyd@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
cro that is redefinedmengyuanlou1-5/+0 2023-03-17ptp: kvm: Use decrypted memory in confidential guest on x86Jeremi Piotrowski4-11/+54 2023-03-17tools/power turbostat: version 2023.03.17Len Brown1-8/+5 2023-03-17tools/power turbostat: fix decoding of HWP_STATUSAntti Laakso1-1/+1 2023-03-17tools/power turbostat: Introduce support for EMRZhang Rui1-0/+3 2023-03-17tools/power turbostat: remove stray newlines from warn/warnx stringsLen Brown1-2/+2 2023-03-17tools/power turbostat: Fix /dev/cpu_dma_latency warningsPrarit Bhargava2-1/+3 2023-03-17tools/power turbostat: Provide better debug messages for failed capabilities ...Prarit Bhargava2-7/+7 2023-03-17tools/power turbostat: update dump of SECONDARY_TURBO_RATIO_LIMITLen Brown1-1/+1 2023-03-17net/smc: Use percpu ref for wr tx referenceKai Shen3-12/+38 2023-03-17inet_diag: constify raw_lookup() socket argumentEric Dumazet1-1/+1 2023-03-17ipv4: raw: constify raw_v4_match() socket argumentEric Dumazet2-3/+3 2023-03-17ipv6: raw: constify raw_v6_match() socket argumentEric Dumazet2-2/+2 2023-03-17udp6: constify __udp_v6_is_mcast_sock() socket argumentEric Dumazet1-2/+2 2023-03-17ipv6: constify inet6_mc_check()Eric Dumazet2-5/+5 2023-03-17udp: constify __udp_is_mcast_sock() socket argumentEric Dumazet1-2/+2 2023-03-17ipv4: constify ip_mc_sf_allow() socket argumentEric Dumazet2-3/+3 2023-03-17inet: preserve const qualifier in inet_sk()Eric Dumazet8-14/+12 2023-03-17netlink: specs: allow uapi-header in genetlinkJakub Kicinski3-2/+5