Re: [PATCH v7 07/17] printk: Check that index is not defined when a console is preferred via devname

From: Chris Down

Date: Thu Nov 12 2026 - 20:24:36 EST


Hi Petr,

Petr Mladek writes:
- * 2. Either @name OR @devname are allowed. [*]
+ * 2. Either @name and valid @idx OR @devname and @idx=-1 are allowed. [*]

The check below now rejects only idx >= 0 for @devname, so this could say
"negative @idx" instead of "@idx=-1" to match it.

With that (fine to do when applying):

Reviewed-by: Chris Down <chris@xxxxxxxxxxxxxx>

Chris