Claudiu Beznea b1356ed1a4 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 <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20230530093913.1656095-9-claudiu.beznea@microchip.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2023-06-16 21:52:50 -07:00
..
2022-03-11 18:22:15 -08:00
2023-01-12 10:53:12 +01:00
2022-10-03 12:34:32 -07:00
2023-03-27 12:08:28 -07:00
2022-10-10 20:37:50 -07:00
2020-12-07 16:56:41 -08:00