Re: [BUG v6.3-rc4+] WARNING: CPU: 0 PID: 1 at drivers/thermal/thermal_sysfs.c:879 cooling_device_stats_setup+0xac/0xc0

From: Steven Rostedt
Date: Wed Mar 29 2023 - 16:59:54 EST


On Wed, 29 Mar 2023 16:58:19 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> In preparation to adding my patch that checks for some kinds of bugs in
> trace events, I decided to run it on the Linus's latest branch, to see if
> there's any other trace events that may cause issues. But instead I hit
> this unrelated bug. Looks to be triggering an added lockdep_assert() on
> boot up.

The bug happened on this commit, from Linus's tree:

fcd476ea6a888ef6e6627f4c21a2ea8cca3e9312

In case it was fixed after that.

-- Steve