diff options
| author | Gabriele Monaco <gmonaco@redhat.com> | 2026-05-14 17:20:42 +0200 |
|---|---|---|
| committer | Gabriele Monaco <gmonaco@redhat.com> | 2026-06-04 16:44:24 +0200 |
| commit | a963fbf3166f2e178ac38b6c3c186a0c98092fb9 (patch) | |
| tree | 7ceab50727f3a73ec79e12cd9359045bda5d4fd2 /drivers/clk/aspeed/git@git.tavy.me:linux.git | |
| parent | 08904765bb941f98306ae6841c33cfd299343faf (diff) | |
tools/rv: Fix substring match bug in monitor name search
__ikm_find_monitor_name() relies on strstr() to find a monitor by name,
which fails if the target monitor is a substring of a previously listed
monitor.
Fix it by tokenizing the available_monitors file and matching full
tokens instead.
Fixes: eba321a16fc6 ("tools/rv: Add support for nested monitors")
Reviewed-by: Nam Cao <namcao@linutronix.de>
Link: https://lore.kernel.org/r/20260514152055.229162-2-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Diffstat (limited to 'drivers/clk/aspeed/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
