diff options
author | Kunwu Chan <[email protected]> | 2023-12-08 11:33:20 +0800 |
---|---|---|
committer | Lee Jones <[email protected]> | 2023-12-13 15:52:59 +0000 |
commit | 825906f2ebe83977d747d8bce61675dddd72485d (patch) | |
tree | 50052f780f762dd83bd18c8b2a5dd9fa4f331d33 /scripts/generate_rust_analyzer.py | |
parent | 4f9b632e1bb28e0b5ec6d63a51ea727ce0581ec0 (diff) |
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 <[email protected]>
Signed-off-by: Kunwu Chan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions