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")
>
On 4/26/22 5:26 PM, 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
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
---
drivers/clk/clk_scmi.c | 8 +++-
1 file
3 matches
Mail list logo