aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-05-08 16:26:34 +0200
committerJakub Kicinski <[email protected]>2023-05-09 19:57:01 -0700
commitb394982a10d93d772c962fb18f9a5f8c24f1d351 (patch)
treee80c1148bf8f608d0c47892636d4ff5e31633a09 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent903cc461c901d854546096e01aa4bf32d2438c94 (diff)
net: stmmac: dwmac-sti: 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/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions