]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rv/rvgen: make monitor arguments required in rvgen
authorWander Lairson Costa <wander@redhat.com>
Mon, 23 Feb 2026 16:17:57 +0000 (13:17 -0300)
committerGabriele Monaco <gmonaco@redhat.com>
Wed, 1 Apr 2026 08:16:19 +0000 (10:16 +0200)
commitd7ee96234b2ae6ed86a68f5e3792cb17829698ef
tree2921fb68e745cc225dff08699a6b0c020fabf73e
parent1b615bb0f0bf0290302ad8d37ecf7e1e0102e5b4
rv/rvgen: make monitor arguments required in rvgen

Add required=True to the monitor subcommand arguments for class, spec,
and monitor_type in rvgen. These arguments are essential for monitor
generation and attempting to run without them would cause AttributeError
exceptions later in the code when the script tries to access them.

Making these arguments explicitly required provides clearer error
messages to users at parse time rather than cryptic exceptions during
execution. This improves the user experience by catching missing
arguments early with helpful usage information.

Signed-off-by: Wander Lairson Costa <wander@redhat.com>
Reviewed-by: Gabriele Monaco <gmonaco@redhat.com>
Reviewed-by: Nam Cao <namcao@linutronix.de>
Link: https://lore.kernel.org/r/20260223162407.147003-15-wander@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
tools/verification/rvgen/__main__.py