[PATCH 1/1] clk: scmi: fix scmi_clk_get_attibute()

Tom Rini trini at konsulko.com
Fri May 6 01:39:07 CEST 2022


On Tue, Apr 26, 2022 at 11:26:31PM +0200, Heinrich Schuchardt wrote:

> Local variable out.name lives on the stack and therefore cannot
> be returned directly. Move the strdup() call into the function.
> (Coverity 352460)
> 
> Fixes: 7c33f78983c3 ("clk: scmi: register scmi clocks with CCF")
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> Reviewed-by: Sean Anderson <seanga2 at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220505/225cb834/attachment.sig>


More information about the U-Boot mailing list