diff options
| author | Kangjie Lu <[email protected]> | 2019-03-14 01:02:47 -0500 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2019-04-05 16:00:06 +0200 |
| commit | 75cf4f5aa903604e1bd7bec2c0988d643c6fb946 (patch) | |
| tree | 1bb147557aeadd2e10a11b2f0ad97f8b8f1fde0c /tools/perf/scripts/python | |
| parent | 077d9951f7c9ef5845fdcf4363d3a4630d142e4f (diff) | |
power: charger-manager: fix a potential NULL pointer dereference
In case create_freezable_workqueue fails, the fix return -ENOMEM
to avoid a potential NULL pointer dereference.
Signed-off-by: Kangjie Lu <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions