Re: [RFC PATCH v2 05/12] rv: Return init error when registering monitors
From: Nam Cao
Date: Mon May 19 2025 - 04:06:52 EST
On Wed, May 14, 2025 at 10:43:07AM +0200, Gabriele Monaco wrote:
> Monitors generated with dot2k have their registration function (the one
> called during monitor initialisation) return always 0, even if the
> registration failed on RV side.
> This can hide potential errors.
>
> Return the value returned by the RV register function.
>
> Signed-off-by: Gabriele Monaco <gmonaco@xxxxxxxxxx>
Reviewed-by: Nam Cao <namcao@xxxxxxxxxxxxx>