aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/symbols.py
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2020-07-07 14:58:02 +0200
committerRafael J. Wysocki <[email protected]>2020-07-29 18:38:30 +0200
commit166bf83529c47ddcd4854ff2047f4f980dc492c8 (patch)
treec1091d91601801ef65bd7ceca83397acec194520 /scripts/gdb/linux/symbols.py
parent4b072cd6ace3fcc5fd0688980a74592a7ddee5e5 (diff)
cpuidle: psci: Fix error path via converting to a platform driver
The current error paths for the cpuidle-psci driver, may leak memory or possibly leave CPU devices attached to their PM domains. These are quite harmless issues, but still deserves to be taken care of. Although, rather than fixing them by keeping track of allocations that needs to be freed, which tends to become a bit messy, let's convert into a platform driver. In this way, it gets easier to fix the memory leaks as we can rely on the devm_* functions. Moreover, converting to a platform driver also enables support for deferred probe, which subsequent changes takes benefit from. Signed-off-by: Ulf Hansson <[email protected]> Reviewed-by: Lukasz Luba <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions