aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-05-08 16:26:35 +0200
committerJakub Kicinski <[email protected]>2023-05-09 19:57:02 -0700
commitfec3f552140ec5d10e3fb8eecbf8fd7f80476d02 (patch)
treec1cfb402f3d782b4640005aa3f7000250b0fc84f /tools/perf/scripts/python/check-perf-trace.py
parentb394982a10d93d772c962fb18f9a5f8c24f1d351 (diff)
net: stmmac: dwmac-stm32: 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. Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Uwe Kleine-König <[email protected]> Reviewed-by: Michal Kubiak <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions