aboutsummaryrefslogtreecommitdiff
path: root/samples/Kconfig
diff options
context:
space:
mode:
authorGravatar Claudiu Beznea <claudiu.beznea@microchip.com> 2023-06-15 13:25:46 +0300
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2023-06-19 17:13:24 +0200
commitaf2e19d82a116bc622eea84c9faadd5f7e20bec4 (patch)
treeb7a6722252f5683cc057e89dc18693aada445193 /samples/Kconfig
parentMerge tag 'extcon-next-for-6.5' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
downloadlinux-af2e19d82a116bc622eea84c9faadd5f7e20bec4.tar.gz
linux-af2e19d82a116bc622eea84c9faadd5f7e20bec4.tar.bz2
linux-af2e19d82a116bc622eea84c9faadd5f7e20bec4.zip
misc: fastrpc: 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: 3abe3ab3cdab ("misc: fastrpc: add secure domain support") Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20230615102546.581899-1-claudiu.beznea@microchip.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/Kconfig')
0 files changed, 0 insertions, 0 deletions