Thread (20 messages) 20 messages, 4 authors, 2023-06-20

Re: [PATCH 7/8] clk: ti: clkctrl: check return value of kasprintf()

From: Stephen Boyd <sboyd@kernel.org>
Date: 2023-06-20 18:56:22
Also in: linux-clk, linux-omap, lkml

Quoting Claudiu Beznea (2023-05-30 02:39:12)
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 <redacted>
---
Applied to clk-next

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help