summaryrefslogtreecommitdiff
path: root/drivers/reset/reset-ti-sci.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-04-27 00:26:31 +0300
committerTom Rini <trini@konsulko.com>2022-05-06 02:37:11 +0300
commitd6577668196a130787291682ff9202721396ec1b (patch)
tree5f63753162db219885f33678ebba60a720f36445 /drivers/reset/reset-ti-sci.c
parent616571804a01f032bc43fa4fdeb42f00cb90513c (diff)
downloadu-boot-d6577668196a130787291682ff9202721396ec1b.tar.xz
clk: scmi: fix scmi_clk_get_attibute()
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@canonical.com> Reviewed-by: Sean Anderson <seanga2@gmail.com>
Diffstat (limited to 'drivers/reset/reset-ti-sci.c')
0 files changed, 0 insertions, 0 deletions