Claudiu Beznea af2e19d82a 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>
2023-06-19 17:13:24 +02:00
..
2023-05-29 15:05:17 +01:00
2023-04-27 12:07:50 -07:00
2021-10-05 15:47:18 +02:00
2023-04-27 12:07:50 -07:00
2022-09-01 17:42:27 -04:00
2023-02-22 13:47:32 -06:00
2022-12-15 10:37:26 -08:00