aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorClaudiu Beznea <[email protected]>2023-06-15 13:53:33 +0300
committerLinus Walleij <[email protected]>2023-06-16 15:01:50 +0200
commitf6fd5d4ff8ca0b24cee1af4130bcb1fa96b61aa0 (patch)
tree072df2c236c95218f539976177af5edc2e4788b7 /tools/perf/scripts/python/export-to-postgresql.py
parent310cd4c206cd04696ccbfd1927b5ab6973e8cc8e (diff)
pinctrl: at91-pio4: 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: 776180848b57 ("pinctrl: introduce driver for Atmel PIO4 controller") Depends-on: 1c4e5c470a56 ("pinctrl: at91: use devm_kasprintf() to avoid potential leaks") Depends-on: 5a8f9cf269e8 ("pinctrl: at91-pio4: use proper format specifier for unsigned int") Signed-off-by: Claudiu Beznea <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions