summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2017-08-07 01:37:55 +0300
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>2017-08-11 19:53:18 +0300
commit096fc160b706237b6643a15a8e13690de238af0f (patch)
tree2f9c76eae99c6cdd224e7d3151bf6bc9b0d7822b /tools/perf/scripts/python/export-to-postgresql.py
parent46cecd130d553f7340d033a4019839e9c018200d (diff)
downloadlinux-096fc160b706237b6643a15a8e13690de238af0f.tar.xz
power: supply: charger-manager: Fix a NULL pointer dereference in 'charger_manager_probe()'
'devm_kzalloc()' can return NULL. Return -ENOMEM in this case in order to avoid a NULL pointer dereference later on. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions