summaryrefslogtreecommitdiff
path: root/drivers/clk/versatile/clk-impd1.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-11-17 10:26:05 +0300
committerStephen Boyd <sboyd@kernel.org>2021-12-07 23:25:29 +0300
commit2d4fcc5ab35fac2e995f497d62439dcbb416babc (patch)
tree17c081cb53f5ec67a9834cff470f70282c5b945a /drivers/clk/versatile/clk-impd1.c
parente53f2086856c16ccab80fd0ac012baa1ae88af73 (diff)
downloadlinux-2d4fcc5ab35fac2e995f497d62439dcbb416babc.tar.xz
clk: versatile: clk-icst: use after free on error path
This frees "name" and then tries to display in as part of the error message on the next line. Swap the order. Fixes: 1b2189f3aa50 ("clk: versatile: clk-icst: Ensure clock names are unique") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/20211117072604.GC5237@kili Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/versatile/clk-impd1.c')
0 files changed, 0 insertions, 0 deletions