Claudiu Beznea
511b47f8cb
clk: ti: clkctrl: check return value of kasprintf()
...
[ Upstream commit bd46cd0b802d9c9576ca78007aa084ae3e74907b ]
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: 852049594b9a ("clk: ti: clkctrl: convert subclocks to use proper names also")
Fixes: 6c3090520554 ("clk: ti: clkctrl: Fix hidden dependency to node name")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20230530093913.1656095-8-claudiu.beznea@microchip.com
Reviewed-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-19 16:21:33 +02:00
..
2022-06-10 14:51:35 +02:00
2022-06-10 14:51:36 +02:00
2022-06-10 14:51:36 +02:00
2022-06-10 14:51:35 +02:00
2022-06-10 14:51:35 +02:00
2022-03-15 14:07:27 -07:00
2022-06-10 14:51:35 +02:00
2022-06-10 14:51:35 +02:00
2022-06-16 00:49:57 -07:00
2022-06-16 00:49:57 -07:00
2020-03-17 09:45:24 -07:00
2022-06-10 14:51:35 +02:00
2022-09-30 17:39:46 -07:00
2022-10-08 10:06:48 -07:00
2023-07-19 16:21:33 +02:00
2022-06-10 14:51:36 +02:00
2021-02-10 19:42:41 -08:00
2019-06-19 17:09:55 +02:00
2022-06-10 14:51:35 +02:00
2022-06-10 14:51:36 +02:00
2022-06-10 14:51:36 +02:00
2022-06-10 14:51:36 +02:00
2021-06-08 17:49:16 -07:00
2021-02-11 11:56:05 -08:00
2022-06-10 14:51:36 +02:00
2022-06-10 14:51:35 +02:00
2022-06-10 14:51:36 +02:00
2022-06-10 14:51:36 +02:00
2022-06-10 14:51:36 +02:00
2020-06-14 01:57:21 +09:00
2022-03-15 14:07:27 -07:00
2022-06-10 14:51:36 +02:00