Re: [PATCH v2 02/20] rv: Cleanup da_monitor after refactor
From: Nam Cao <hidden>
Date: 2025-10-02 08:49:55
Also in:
lkml
From: Nam Cao <hidden>
Date: 2025-10-02 08:49:55
Also in:
lkml
Gabriele Monaco [off-list ref] 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@redhat.com>
Reviewed-by: Nam Cao <redacted>