Re: [PATCH v3 1/3] printk: Move console matching logic into a separate function
From: Sergey Senozhatsky
Date: Thu Feb 13 2020 - 00:42:42 EST
On (20/02/06 15:02), Benjamin Herrenschmidt wrote:
[..]
> +
> + /*
> + * Some consoles, such as pstore and netconsole, can be enabled even
> + * without matching.
> + */
> + if (newcon->flags & CON_ENABLED)
> + return 0;
> +
> + return -ENOENT;
> +}
Looks good to me // modulo checkpatch warnings //
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
-ss