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>
|
||
|---|---|---|
| .. | ||
| clk-icst.c | ||
| clk-icst.h | ||
| clk-impd1.c | ||
| clk-sp810.c | ||
| clk-versatile.c | ||
| clk-vexpress-osc.c | ||
| icst.c | ||
| icst.h | ||
| Kconfig | ||
| Makefile | ||