Re: WARNING: CPU: 0 PID: 1 at drivers/clk/clk.c:4156 __clk_put+0xfc/0x130

From: JeffyChen
Date: Mon Mar 16 2020 - 20:26:04 EST


Hi Stephen,

On 03/17/2020 02:12 AM, Stephen Boyd wrote:
Looks like Greg picked up this patch[1] as commit b8fe128dad8f
("arch_topology: Adjust initial CPU capacities with current freq") from
the list. Not sure it's correct though and I haven't looked in any more
detail. At least, not calling clk_put() unless it is a valid pointer
will work to quiet this warning.

[1] https://lore.kernel.org/r/20200113034815.25924-1-jeffy.chen@xxxxxxxxxxxxxx


Sorry, i made a stupid mistake... Sending the fix now, thanks for checking that.