aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-03-26 16:30:29 +0200
committerHans Verkuil <[email protected]>2023-04-11 16:59:13 +0200
commit0ff7aee24e47beb4306ce050824b54147f2fabfa (patch)
tree4e119ff01dc0367ab49ae75682a545a8f1911b77 /tools/perf/scripts/python/bin
parent4948ea58e7335e00d6556f884151b0dae1fb344f (diff)
media: cros-ec-cec: Don't exit early in .remove() callback
Exiting early in remove without releasing all acquired resources yields leaks. Note that e.g. memory allocated with devm_zalloc() is freed after .remove() returns, even if the return code was negative. While blocking_notifier_chain_unregister() won't fail and so the change is somewhat cosmetic, platform driver's .remove callbacks are about to be converted to return void. To prepare that, keep the error message but don't return early. Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions