Re: [PATCH perf/core] uprobes: fix WARN() inside hprobe_consume()
From: Peter Zijlstra
Date: Wed Oct 30 2024 - 16:13:01 EST
On Wed, Oct 30, 2024 at 09:02:08AM -0700, Andrii Nakryiko wrote:
> Use proper `*hstate` to print unexpected hprobe state. And drop unused
> local `state` variable.
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> Closes: https://lore.kernel.org/r/202410302020.1jHBLfss-lkp@xxxxxxxxx/
> Fixes: 72a27524a493 ("uprobes: SRCU-protect uretprobe lifetime (with timeout)")
> Signed-off-by: Andrii Nakryiko <andrii@xxxxxxxxxx>
Since I've not yet pushed it out to tip, I've folded it into the original patch.