diff options
author | 2023-12-08 11:33:20 +0800 | |
---|---|---|
committer | 2023-12-13 15:52:59 +0000 | |
commit | 825906f2ebe83977d747d8bce61675dddd72485d (patch) | |
tree | 50052f780f762dd83bd18c8b2a5dd9fa4f331d33 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dt-bindings: mfd: pm8008: Clean up example node names (diff) | |
download | wireguard-linux-825906f2ebe83977d747d8bce61675dddd72485d.tar.xz wireguard-linux-825906f2ebe83977d747d8bce61675dddd72485d.zip |
mfd: tps6594: Add null pointer check to tps6594_device_init()
devm_kasprintf() returns a pointer to dynamically allocated memory
which can be NULL upon failure.
Fixes: 325bec7157b3 ("mfd: tps6594: Add driver for TI TPS6594 PMIC")
Suggested-by: Lee Jones <lee@kernel.org>
Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Link: https://lore.kernel.org/r/20231208033320.49345-1-chentao@kylinos.cn
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions