diff options
author | Kangjie Lu <kjlu@umn.edu> | 2019-03-14 01:02:47 -0500 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2019-04-05 16:00:06 +0200 |
commit | 75cf4f5aa903604e1bd7bec2c0988d643c6fb946 (patch) | |
tree | 1bb147557aeadd2e10a11b2f0ad97f8b8f1fde0c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 077d9951f7c9ef5845fdcf4363d3a4630d142e4f (diff) | |
download | linux-75cf4f5aa903604e1bd7bec2c0988d643c6fb946.tar.gz linux-75cf4f5aa903604e1bd7bec2c0988d643c6fb946.tar.bz2 linux-75cf4f5aa903604e1bd7bec2c0988d643c6fb946.zip |
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 <kjlu@umn.edu>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions