summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMa Ke <make24@iscas.ac.cn>2024-09-06 18:03:26 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-10-22 15:51:35 +0200
commit1f266957ae1207b0717c2d69096bc70654ae9fcb (patch)
treedd9d3e9860c6af59e37f01aa3ded9e7dea31ad49 /tools/perf/scripts/python/stackcollapse.py
parentdcbe9954634807ec54e22bde278b5b269f921381 (diff)
pinctrl: stm32: check devm_kasprintf() returned value
commit b0f0e3f0552a566def55c844b0d44250c58e4df6 upstream. devm_kasprintf() can return a NULL pointer on failure but this returned value is not checked. Fix this lack and check the returned value. Found by code review. Cc: stable@vger.kernel.org Fixes: 32c170ff15b0 ("pinctrl: stm32: set default gpio line names using pin names") Signed-off-by: Ma Ke <make24@iscas.ac.cn> Link: https://lore.kernel.org/20240906100326.624445-1-make24@iscas.ac.cn Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions