Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4550480pxb; Thu, 14 Oct 2021 07:27:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfHPhubCIVSgsrqXYr4fvehyWCE0IJAsEzqnSVV/Cj/vqkANcvDItNhiZqRc5QNocq+UrV X-Received: by 2002:a63:cd48:: with SMTP id a8mr4575272pgj.180.1634221636821; Thu, 14 Oct 2021 07:27:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634221636; cv=none; d=google.com; s=arc-20160816; b=OFVeJwO0/ROxLHrNNCOwzAGPw22i9tX7aCs1lUDpgieycIMmfL/08LNCJkMsMvWEoo CVBkj3Jso5m4T0+eWrY/YcbGC28P7i/od7v/MhyxAy9+HKNwV9pAPkCTvTH7fJ0byJcv 0bEmYLEJqznjGAVkgOCbIOIK/fJN6kGArHGPKqtDoCl8i3QTzCXe/I3QlhnD8eg2kAlv HtI2lw5UjzdkVWPlQg5WqY9ZBH0XKPftgzVuom24Jqxoq09zHJc1wKywTjOP9hjv7j2/ Tlz7wau3sqStfF6BOTfZRbdPr2kEVfKsaoC5GT9iTs8QqKElc3C9d6AmaN4y0wLxgxRc O++w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Zts4wXOWu/9Ni/KeqGelE9EoK5pSBbv4ItyFw5Cwy1M=; b=O8l1eB8hW9wHa/4eQP/Acafhrtw9VK1+sF/wPElncce9UryDNlB4VDIz3K52kxgrxl RSOaRzN1WVWmMPgB25otoTDydQqL3s93WRc4tGXCfYZi2qrHG7o0z0731T+bhJwzU6wc qsEPnEhH8VwSOClf3MFTK+3JlmbV8kNq6KR7xe+RvYfuQiMBnFzYSCNYa44rgaHKFAr1 GwylULWhaFAG+fziBobYhqqe4UleNVhMvikHAUkfy03ntGIVYwGaxeH43I8Tw3PILYkm rOzKtWS8YIZYsBJVu583oaZA7Mdg7uVi1niHOmZOadCaTcekUKNQbGfsMVNgpm4j+k7M RGwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ds+Zbyai; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q203si3532010pfc.293.2021.10.14.07.26.39; Thu, 14 Oct 2021 07:27:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ds+Zbyai; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231601AbhJNMuE (ORCPT + 99 others); Thu, 14 Oct 2021 08:50:04 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:22332 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229912AbhJNMuD (ORCPT ); Thu, 14 Oct 2021 08:50:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634215678; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Zts4wXOWu/9Ni/KeqGelE9EoK5pSBbv4ItyFw5Cwy1M=; b=ds+Zbyaix3VImn9EDk77sh+dfTFKQIuuGo3t3acqlFxpKkkLfvL1CAh6A/IrG1ZNRcuVI+ lBT3bDaIsAp64zADYMtkQb2v4gxK6kTL2bc14M4FbzVInYJ5+7v/OfT6i6K4F7iReShbVI Grq4lOyN9uHDSsLZD4yoHps3QP7EHMM= Received: from mail-io1-f71.google.com (mail-io1-f71.google.com [209.85.166.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-497-4etc_d8nMnCP8E_MGdcuBQ-1; Thu, 14 Oct 2021 08:47:57 -0400 X-MC-Unique: 4etc_d8nMnCP8E_MGdcuBQ-1 Received: by mail-io1-f71.google.com with SMTP id d7-20020a056602228700b005ddba37de42so2159650iod.23 for ; Thu, 14 Oct 2021 05:47:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Zts4wXOWu/9Ni/KeqGelE9EoK5pSBbv4ItyFw5Cwy1M=; b=CbiLS8CKqv6llD1cIA8uhgmc8h2CQXSdanit/gBTq6tD3Z7ZUGWuszcSaIkIY97b5Z O5VwolcMJ800hrgxnK0gWm1bU29Vs/Z1hfPfT0tjSk6ITW9pNfmQJfv7tD2dNnFTy+V9 CthLhWZGXT5KJv6HUU3Y97e2pnWsXWNiWn9hBEUCt8cPqmjNtqi5zwf9glk6aEvQZR4+ qvMqdjQuOiOrvWJ1IorKnGJ2t1sw3DwVmGa22wSl1luCJsBkVTouqvtbLBWFO83vjD0e Zc4hgrErU+wleyrmuYvJgfr3KMY6UvqOoKQISZ3b2WSQY3BdXX41sVOJqt62nvgOnmUc ny6w== X-Gm-Message-State: AOAM532wDXguvSfmHjY3Vje3ShYTmMfNQtfVxPTf1gO19/nzpQDJyeWa dMqaqaaTnlt6ebmYgGZ/NX6d4n5rus4KJF+5brUmYk/g4lAN6CqNqLGFgdb4y/+LkDw0Ac/S8lX dXmuz5GU9omlX57SnEICrhyc5 X-Received: by 2002:a05:6e02:1003:: with SMTP id n3mr2194512ilj.279.1634215676792; Thu, 14 Oct 2021 05:47:56 -0700 (PDT) X-Received: by 2002:a05:6e02:1003:: with SMTP id n3mr2194497ilj.279.1634215676617; Thu, 14 Oct 2021 05:47:56 -0700 (PDT) Received: from halaneylaptop (068-184-200-203.res.spectrum.com. [68.184.200.203]) by smtp.gmail.com with ESMTPSA id j13sm1187025ilr.47.2021.10.14.05.47.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 05:47:55 -0700 (PDT) Date: Thu, 14 Oct 2021 07:47:53 -0500 From: Andrew Halaney To: Andrew Morton Cc: rostedt@goodmis.org, bp@suse.de, rdunlap@infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] init: Make unknown command line param message clearer Message-ID: <20211014124753.wng5iuzluukz4val@halaneylaptop> References: <20211013223502.96756-1-ahalaney@redhat.com> <20211013161259.39e88182200b7a582c0cf632@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211013161259.39e88182200b7a582c0cf632@linux-foundation.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 13, 2021 at 04:12:59PM -0700, Andrew Morton wrote: > On Wed, 13 Oct 2021 17:35:02 -0500 Andrew Halaney wrote: > > > The prior message is confusing users, which is the exact opposite of the > > goal. If the message is being seen, one of the following situations is > > happening: > > > > 1. the param is misspelled > > 2. the param is not valid due to the kernel configuration > > 3. the param is intended for init but isn't after the '--' > > delineator on the command line > > > > To make that more clear to the user, explicitly mention "kernel command > > line" and also note that the params are still passed to user space to > > avoid causing any alarm over params intended for init. > > > > Fixes: 86d1919a4fb0 ("init: print out unknown kernel parameters") > > Suggested-by: Steven Rostedt (VMware) > > Signed-off-by: Andrew Halaney > > Thanks. > > BTW, I'm still sitting on your "init/main.c: silence some > -Wunused-parameter warnings", awaiting a response to Rasmus's > suggestion: > https://lkml.kernel.org/r/f06b8308-645b-031b-f9c6-b92400a269aa@rasmusvillemoes.dk > Whoops, that got caught in spam (along with rostedt's replies yesterday... darn gmail). Let me add looking at that to the todo list, thanks Andrew!