OpenCloudOS-Kernel/drivers/clk/versatile
Dan Carpenter 2d4fcc5ab3 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: 1b2189f3aa ("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>
2021-12-07 12:25:29 -08:00
..
Kconfig clk: versatile: hide clock drivers from non-ARM users 2021-10-14 18:00:35 -07:00
Makefile clk: versatile: Rename ICST to CLK_ICST 2021-10-14 18:00:25 -07:00
clk-icst.c clk: versatile: clk-icst: use after free on error path 2021-12-07 12:25:29 -08:00
clk-icst.h clk: versatile: Add device tree probing for IM-PD1 clocks 2020-03-20 17:55:31 -07:00
clk-impd1.c clk: versatile: Add of_node_put() before return statement 2020-09-10 00:57:42 -07:00
clk-sp810.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
clk-versatile.c clk: versatile: remove redundant assignment to pointer clk 2020-05-26 23:40:41 -07:00
clk-vexpress-osc.c clk: vexpress-osc: Support building as a module 2020-05-13 12:42:45 -05:00
icst.c Replace HTTP links with HTTPS ones: Common CLK framework 2020-07-10 17:15:34 -07:00
icst.h Replace HTTP links with HTTPS ones: Common CLK framework 2020-07-10 17:15:34 -07:00