diff options
author | 2023-05-30 12:39:09 +0300 | |
---|---|---|
committer | 2023-06-16 21:52:50 -0700 | |
commit | 36e4ef82016a2b785cf2317eade77e76699b7bff (patch) | |
tree | 27e9638f70c62e60ae99de3db33626349941b79a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | clk: si5341: return error if one synth clock registration fails (diff) | |
download | wireguard-linux-36e4ef82016a2b785cf2317eade77e76699b7bff.tar.xz wireguard-linux-36e4ef82016a2b785cf2317eade77e76699b7bff.zip |
clk: si5341: check return value of {devm_}kasprintf()
{devm_}kasprintf() returns a pointer to dynamically allocated memory.
Pointer could be NULL in case allocation fails. Check pointer validity.
Identified with coccinelle (kmerr.cocci script).
Fixes: 3044a860fd09 ("clk: Add Si5341/Si5340 driver")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20230530093913.1656095-5-claudiu.beznea@microchip.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions