Re: [PATCH] init/main.c: prevent warning on lack of default implicit rdinit

From: Andrew Morton

Date: Thu Jan 15 2026 - 15:02:16 EST


On Wed, 14 Jan 2026 22:02:27 +0000 Harry Austen <hpausten@xxxxxxxxxxxxxx> wrote:

> If rdinit was not explicitly provided on cmdline, and default /init does
> not exist, no warning should be printed.

Seems that we already have a very similar patch from Lillian:

https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/init-mainc-check-if-rdinit-was-explicitly-set-before-printing-warning.patch
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/init-mainc-check-if-rdinit-was-explicitly-set-before-printing-warning-fix.patch

What's happening here?