Re: [PATCH v2 02/20] rv: Cleanup da_monitor after refactor
From: Nam Cao
Date: Thu Oct 02 2025 - 04:50:08 EST
Gabriele Monaco <gmonaco@xxxxxxxxxx> writes:
> Previous changes refactored the da_monitor header file to avoid using
> macros, however empty macros (e.g. DECLARE_DA_FUNCTION) were left to
> ease review with diff tools.
> Most macros also get the argument type which doesn't really have a
> purpose since states have their own enum and the storage in struct
> da_monitor is fixed to unsigned int.
>
> Remove empty and no longer required macros and substitute the type
> parameter with the appropriate enum.
> Additionally break long line and adjust the format overall.
>
> Signed-off-by: Gabriele Monaco <gmonaco@xxxxxxxxxx>
Reviewed-by: Nam Cao <namcao@xxxxxxxxxxxxx>