From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 981CAEE49AB for ; Sun, 20 Aug 2023 02:48:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229832AbjHTCsO (ORCPT ); Sat, 19 Aug 2023 22:48:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229799AbjHTCr7 (ORCPT ); Sat, 19 Aug 2023 22:47:59 -0400 Received: from mail-oa1-x2e.google.com (mail-oa1-x2e.google.com [IPv6:2001:4860:4864:20::2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20954A5DE9 for ; Sat, 19 Aug 2023 19:31:03 -0700 (PDT) Received: by mail-oa1-x2e.google.com with SMTP id 586e51a60fabf-1a1fa977667so1411576fac.1 for ; Sat, 19 Aug 2023 19:31:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1692498662; x=1693103462; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Aq02rNNrFFRXd2WHrHFiWmxFWaZMSaBzFscYMGYTbjA=; b=E+RvrWXJ+/mmbIkNM98G9zdglrursJ9xu6mgnfSaHJm4sNNBwUsyQrLF1hXSDmLvov Mc3IUjMLg91svgyaycEXz+ciTWTEwNVDdyHmxJ8i1flmjMgYC5sJeKswmMKUrXRsgElh E0oEb5wsCOuDvlbiQJBYFc2SlqG0zG08hGj00= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692498662; x=1693103462; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Aq02rNNrFFRXd2WHrHFiWmxFWaZMSaBzFscYMGYTbjA=; b=kRAJQvhxwa23A6WfIhAJrJmNMcvORtUybRna8ni6KW6WQcvCji5v8BUHoiSbF4LwVb V22dYCyNjh2Tvs3ixw7oG5sJbTCo94bKTcovx8Yh/c9DG/kOTFUnhfjhsTIAed5xGO33 yTjQHXsnIbOTrWte/yj5krZHacuCOlXQj2VWPSIEb+pQ+SNpgSbv7SVhABablT2GgPyh +aYAeX5T+yaBTXWM/9JEAUwCEqlSwRD2Jfbo5vVsiEmUu5S3VF/xXxUHdyUJ49N8/Lca Mkl2QuR5zPxiQLoZeIGgRS+FS/vsLA6xxeZRf/tEzgoVMG3IoPcR9HYy2ONSx9CyzVbO x9CQ== X-Gm-Message-State: AOJu0YyUrZnNB6Cjfe5hWBgfqCf3SsI0h4yqH26uM1v3kbO9ESY5eseL +ZxrypYRMlAWJKt4BcA8wFZ+Mw== X-Google-Smtp-Source: AGHT+IHwXOJMPBiAOiWzmPiEXAnRJDxCfdaHaSImiaxxvy0xUo3fdhVz+3lvjJNZExZMz7ma9epV3w== X-Received: by 2002:a05:6870:6387:b0:1b3:cb1f:cd1f with SMTP id t7-20020a056870638700b001b3cb1fcd1fmr5370836oap.0.1692498662465; Sat, 19 Aug 2023 19:31:02 -0700 (PDT) Received: from google.com (KD124209188001.ppp-bb.dion.ne.jp. [124.209.188.1]) by smtp.gmail.com with ESMTPSA id y4-20020aa78544000000b006862b2a6b0dsm3845988pfn.15.2023.08.19.19.30.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Aug 2023 19:31:01 -0700 (PDT) Date: Sun, 20 Aug 2023 11:30:57 +0900 From: Sergey Senozhatsky To: Jesse T Cc: Sergey Senozhatsky , Masahiro Yamada , Tomasz Figa , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Randy Dunlap Subject: Re: kconfig: list unknown symbols in the old .config Message-ID: <20230820023057.GJ907732@google.com> References: <20230816124221.GH907732@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (23/08/19 15:54), Jesse T wrote: > > We recently were hit (unnecessarily hard) when after kernel uprev we > > figured that something wasn't working. The root cause was a rename of > > the CONFIG_FOO option between kernel releases, which make oldconfig > > doesn't warn/notify about. > > > > Would it be possible to add either a new --listunknown mode to conf or > > to somehow make it conf_warning("unknown symbol: %s\n", line) when it > > reads a line from oldconf that it cannot sym_find()? > > This makes sense and I brought up this scenario a couple of days ago > on a recent patch. > I can make a patch for this if needed. I posted an RFC patch a couple of days ago https://lore.kernel.org/all/20230817012007.131868-1-senozhatsky@chromium.org/T/#u