From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D581421CC58 for ; Thu, 15 Jan 2026 20:02:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768507337; cv=none; b=LmHN9m1G/eKIpyagmrxgo4h61p+H2s45gXQATcU60FfHrPoQHwBWNtWImfh/eiDeg2i9OlXN1YTEnbCPKq/cxzOjJfYfw9V6cj2IuMyT2b42srxaUOifx2v+qAAUOSxEpt1lwGv8HtFqmsF0tvKfmfTrAN5YJTmsUNb9KLAtITw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768507337; c=relaxed/simple; bh=7YQTGOj3v9kDIkkdfxeThep0/EwnhXzs6pgqRjMX07Q=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=EPi9TMNRv9vc9DKUc9iffm/ZLyiCLWbuIF7CKe29C3JABKrDdGTewvzpuuUwMKSumHtrHPESDPSNeF5XrQDCV47zyEwcFiNi8GDA40PGlPubFRvq4WU/XBhLqwOOMKo1bhxL8Zb3QYsmIUsmoUOvJ3N2aZ/XWfJzUjVDyTOiJuQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=FqgouF1Z; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="FqgouF1Z" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30868C116D0; Thu, 15 Jan 2026 20:02:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1768507336; bh=7YQTGOj3v9kDIkkdfxeThep0/EwnhXzs6pgqRjMX07Q=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=FqgouF1ZOXZN6PhBK/4bDsb9CQjb38osCFKyvqEeyEsBHrqz0ceh1vTnDoohrI2KL cHsWFMEJ2dY50bPm16vTW9hpRr9oHvOSfZVJ1x6eRt47/qYI+/hMh9k3awltlgqGRY g/ITKrabkrDMoYDzzbZZYuuYSY7hhgz04WSD9k2U= Date: Thu, 15 Jan 2026 12:02:15 -0800 From: Andrew Morton To: Harry Austen Cc: Huacai Chen , linux-kernel@vger.kernel.org, Lillian Berry Subject: Re: [PATCH] init/main.c: prevent warning on lack of default implicit rdinit Message-Id: <20260115120215.1575388b1f01776a8e2a8fbe@linux-foundation.org> In-Reply-To: <20260114220139.4685-1-hpausten@protonmail.com> References: <20260114220139.4685-1-hpausten@protonmail.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 14 Jan 2026 22:02:27 +0000 Harry Austen 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?