linux/kernel/trace/rv
Gabriele Monaco fc0585c7fa rv: Fix missing unlock on double nested monitors return path
RV doesn't support nested monitors having children monitors themselves
and exits with the EINVAL code. However, it returns without unlocking
the rv_interface_lock.

Unlock the lock before returning from the initialisation function.

Cc: Masami Hiramatsu <mhiramat@kernel.org>
Link: https://lore.kernel.org/20250402071351.19864-2-gmonaco@redhat.com
Fixes: cb85c660fc ("rv: Add option for nested monitors and include sched")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Julia Lawall <julia.lawall@inria.fr>
Closes: https://lore.kernel.org/r/202503310200.UBXGitB4-lkp@intel.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
2025-04-02 09:51:26 -04:00
..
monitors rv: Add scpd, snep and sncid per-cpu monitors 2025-03-24 17:27:39 -04:00
Kconfig rv: Add scpd, snep and sncid per-cpu monitors 2025-03-24 17:27:39 -04:00
Makefile rv: Add scpd, snep and sncid per-cpu monitors 2025-03-24 17:27:39 -04:00
reactor_panic.c rv/reactor: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:53 -07:00
reactor_printk.c rv/reactor: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:53 -07:00
rv.c rv: Fix missing unlock on double nested monitors return path 2025-04-02 09:51:26 -04:00
rv.h rv: Add option for nested monitors and include sched 2025-03-24 17:27:39 -04:00
rv_reactors.c rv: Add option for nested monitors and include sched 2025-03-24 17:27:39 -04:00
rv_trace.h rv: Add scpd, snep and sncid per-cpu monitors 2025-03-24 17:27:39 -04:00