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 7D769C83F17 for ; Sat, 26 Aug 2023 05:54:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231506AbjHZFxj (ORCPT ); Sat, 26 Aug 2023 01:53:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230188AbjHZFxb (ORCPT ); Sat, 26 Aug 2023 01:53:31 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F4A726A6 for ; Fri, 25 Aug 2023 22:53:28 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1c0d0bf18d6so13526135ad.0 for ; Fri, 25 Aug 2023 22:53:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1693029208; x=1693634008; 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=8a8yRHibxZaMQvp8EuhSuU+8SaRLddJ0DMHrupkDBok=; b=GjP+E8MXeN21Nul3dWASH87dmTBT6gsSnR60OTl16V9oleYd7rPu9Z3KvsUuectm4G 9A7AbakZbHykqI2zkLqfFnNVIzrQjl14tbuV4vjAT6d7qFKQ2ucP0tao/lhQq7eI4WUW 67OxTAvIdz24IBVov+9wc4hEo3/y2uNOy7T2Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693029208; x=1693634008; 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=8a8yRHibxZaMQvp8EuhSuU+8SaRLddJ0DMHrupkDBok=; b=EyBqHpBRRZ1qJ1SpwfIXe3Q69x4yWXX2Nf0ikA2MjKZb36LCvCwnroMrSQFumlOguu utxcH0D/cP+MGMinb7f7o9XITrvhxJCa7LRt7z6Ddfm17BXSQTXv6BG1aiYNuzmv5/Ut CYKJZBBEwGKiitrqoOiH9XfWKvHS5JTjs1fTpIMcHLIFliPt6zjp8rEPK8RdlNFi2gQM aS9KtSDf8ZCGQyC7G9MtDSRs5oPxugqW2kbUbpKGkBrXMhPdvxdbrXz5bM16iFmLz/ok F0jlBTAeLi6VLxJBkDY1NrMdA66oh8TJ39j75BfXxK24M8y1oARd5bs5etfQ/Hn9PyHk wqNQ== X-Gm-Message-State: AOJu0YyATjT1seTigT3lFzs6is0W0fZ/iui3qY30Gd0+JPaHWTzar91p BRbMaU/kYOkJttqOG+7iKYxR+w== X-Google-Smtp-Source: AGHT+IF++SrkXFK38Qj/F9y/LukAEEKLFdwReys5NfnrdSUHs8pNQlTgTge+TbQzhGVzZyJoZBj/Yw== X-Received: by 2002:a17:902:e5cd:b0:1b0:f8:9b2d with SMTP id u13-20020a170902e5cd00b001b000f89b2dmr23972880plf.29.1693029207746; Fri, 25 Aug 2023 22:53:27 -0700 (PDT) Received: from google.com (KD124209188001.ppp-bb.dion.ne.jp. [124.209.188.1]) by smtp.gmail.com with ESMTPSA id f11-20020a170902ce8b00b001b694140d96sm2776475plg.170.2023.08.25.22.53.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Aug 2023 22:53:27 -0700 (PDT) Date: Sat, 26 Aug 2023 14:53:21 +0900 From: Sergey Senozhatsky To: Masahiro Yamada Cc: Sergey Senozhatsky , Ying Sun , Jesse T , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , Jonathan Corbet , Tomasz Figa , linux-kbuild@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC][PATCH] kconfig: introduce listunknownconfig Message-ID: <20230826055321.GF3913@google.com> References: <20230820024519.GK907732@google.com> <20230820072119.GM907732@google.com> <20230820073332.GN907732@google.com> <20230822061203.GA610023@google.com> <20230824012027.GD3913@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-doc@vger.kernel.org On (23/08/26 14:38), Masahiro Yamada wrote: > > I am fine with implementing both. > > > > But, I'd like to implement them as separate options. > > (one option for warn unknown symbols, > > another for for turning warnings into errors) > > > > > > > > As I replied to Tomasz, I am considering about > > env variables vs command line options associated with W= option. > > > > With a little more thought, the command line option approach > would require more code changes and efforts. > Sounds good. > So, I am OK with adding new env variables. > Could you add two env variables? Absolutely. > I think > > the first two hunks (show warnings for symbols not found in Kconfig) > -> KCONFIG_WARN_UNKNOWN_SYMBOLS > > the last hunk (turn warnings into errors) > -> KCONFIG_WERROR > > (You can suggest a better naming if you have, but I guess > KCONFIG_WARN_* will be consistent in case > more warning requests come up.) Looks good. I'll send a patch in the coming days.