aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorClaudiu Beznea <[email protected]>2023-05-30 09:39:13 +0000
committerStephen Boyd <[email protected]>2023-06-17 04:52:50 +0000
commitb1356ed1a4461de06dfdc02bf549c3e8750162e5 (patch)
treec711dff4ddbc011229ee35208f7a82b500fabc5f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentclk: ti: clkctrl: check return value of kasprintf() (diff)
downloadkernel-b1356ed1a4461de06dfdc02bf549c3e8750162e5.tar.gz
kernel-b1356ed1a4461de06dfdc02bf549c3e8750162e5.zip
clk: clocking-wizard: 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: 2046338dcbc6 ("ARM: mxs: Use soc bus infrastructure") Signed-off-by: Claudiu Beznea <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions