Re: [PATCH net-next v6 2/5] netconsole: convert 'enabled' flag to enum for clearer state management

From: Breno Leitao
Date: Mon Nov 24 2025 - 04:54:49 EST


On Fri, Nov 21, 2025 at 12:49:01PM +0000, Andre Carvalho wrote:
> This patch refactors the netconsole driver's target enabled state from a
> simple boolean to an explicit enum (`target_state`).
>
> This allow the states to be expanded to a new state in the upcoming
> change.
>
> Co-developed-by: Breno Leitao <leitao@xxxxxxxxxx>
> Signed-off-by: Breno Leitao <leitao@xxxxxxxxxx>
> Signed-off-by: Andre Carvalho <asantostc@xxxxxxxxx>

Reviewed-by: Breno Leitao <leitao@xxxxxxxxxx>