aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKunwu Chan <chentao@kylinos.cn>2023-11-24 15:50:21 +0800
committerSebastian Reichel <sebastian.reichel@collabora.com>2023-12-24 23:43:28 +0100
commit88f04bc3e737155e13caddf0ba8ed19db87f0212 (patch)
tree84ae885d7f7718253ce19966b8bdbd8626f4de52 /tools/perf/scripts/python/export-to-postgresql.py
parent195c3167865454ea909d717557c8585ccfe1b2a3 (diff)
power: supply: Fix null pointer dereference in smb2_probe
devm_kasprintf and devm_kzalloc return a pointer to dynamically allocated memory which can be NULL upon failure. Fixes: 8648aeb5d7b7 ("power: supply: add Qualcomm PMI8998 SMB2 Charger driver") Signed-off-by: Kunwu Chan <chentao@kylinos.cn> Link: https://lore.kernel.org/r/20231124075021.1335289-1-chentao@kylinos.cn Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions