Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2805328rdd; Sat, 13 Jan 2024 02:51:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IEIx6vXNiflC9OCiLQBvS7V3yQZuQmxU44jFfAa+5UEz1JtrOGcouAy6gy2R0WdAooIrV6p X-Received: by 2002:a17:907:908c:b0:a28:e2d7:b41d with SMTP id ge12-20020a170907908c00b00a28e2d7b41dmr1040080ejb.0.1705143064408; Sat, 13 Jan 2024 02:51:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705143064; cv=none; d=google.com; s=arc-20160816; b=RRP9GncVdfvKOSRVuh9mnZdpZGwZZwzkPu6pBC2jFnUVBmBUCH4QLnbaiQe1bPYYeq ZOiRb7uPtByyvLwuXvlywzetisA3q84+NjsN2gJZAI70rTJ8/j3Yh/3sfGSxIssvhvvI WzdTtrwil9Y5aT0wVRaGZW/nFAfCX/AQdWTDSh8BbnwcUiSp0YGgxbf+1WwwzPFsL+9S FJPOu4bwKEzTc5RgPkNMcQypiVo8jHsuYg40pEOjTm9GI/y9vgC5vH2WJ3tmf5pifbL9 BLZ32/0Wm//M0U9mqBH1oRX4zRVQ59w8IInSgydYmYsOwZrddcDwOpzKW+rE1pMI9eHL c3SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=A5NBj2s6UFY8dBfotUAkcVWwJV6+3xwSC/jXQ3R8fdU=; fh=wjrTdRkoDxNWXFT33war+4enZLCnkaSGTt7vQU0ZhQU=; b=thyeJw/RSksbfQv+iGtg2MOQCVexk2SZfdnDNeESG0RZDCcS6I3nu26Aw1efG8zKvA 8D3zughZZIY062aFkar+LULA8ZTPXIqNJ/gFfPy9VxfTjN9dervrwtcDuS3ZWm7bCYBK 87zpgRzTQt2/GTa+xNX4Sms6EB7Jmc2WIDd2JR0KJaaGXZiBZmbWVB0hBLNHmeCybA+B D1IRl+vdr7OY+IpNtVe0wRpmyV2vItTUVfuQN5bIIYwmeEy4T8lhUenDSCBtaJZHYHsd 2NDW5WO46fpJ7gH0dMIfdd2UVIgWgtThnNpPrhIakYNZl31K5w4cdsDbSL2Hzw0rvJXx OOWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=k20201202 header.b=T3gxB+Ai; spf=pass (google.com: domain of linux-kernel+bounces-25268-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25268-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id s17-20020a1709060c1100b00a2887d4190csi2136868ejf.207.2024.01.13.02.51.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Jan 2024 02:51:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25268-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=k20201202 header.b=T3gxB+Ai; spf=pass (google.com: domain of linux-kernel+bounces-25268-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25268-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 247AC1F225DD for ; Sat, 13 Jan 2024 10:51:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E69A720DF3; Sat, 13 Jan 2024 10:50:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="T3gxB+Ai" 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 23E6220B2E; Sat, 13 Jan 2024 10:50:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A08FAC433F1; Sat, 13 Jan 2024 10:50:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705143055; bh=P0vT5yJqXjKBVosYYPfXKfXcBExTHb01xJ00Hlt0GL0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=T3gxB+AiBsxoJBBqF3GC3J6VrIfyHdAaBcQlXZASEmfJzwxhuXQpcpF8dWQoWW06W ul78aXAmXcuLcobXwDvFu+rXC74b6sOQHhAk9B1nUfDnMyzn5sdmVqmXyaAIEi+WW0 d169wZ0mCSIHH459SjCAjKdseC9vuxCbTFkXZf3RbMiMiUKcw3j52R8Ytz11ao9hBz tls4lYr25lGD/Fq+O+UJWccP2IIXs56S7fseG+JGe6uYk6qb76+ZRpiL4kaiwjAuTZ 6Yi6iXVibLkbMw1NDToXjKVLPFrhrwfFTlWPmI7qFYZSuOtdSqZVSCiwMrGwx91ILn dAiASsAQT05Kg== Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-203fb334415so4821884fac.2; Sat, 13 Jan 2024 02:50:55 -0800 (PST) X-Gm-Message-State: AOJu0YwkPiedjEDo0vBB81GBaTRbZ022E2geF1IHq96+eere5RBaTwyx ocsAAmVbZGDEyQ8dotKcD5iU54Wz9m8956F5J9I= X-Received: by 2002:a05:6870:37cf:b0:206:91a9:f1c5 with SMTP id p15-20020a05687037cf00b0020691a9f1c5mr3690978oai.18.1705143055012; Sat, 13 Jan 2024 02:50:55 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231228070941.3611649-1-tfiga@chromium.org> In-Reply-To: From: Masahiro Yamada Date: Sat, 13 Jan 2024 19:50:18 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kconfig: Add a build target for checking current config for issues To: Tomasz Figa Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Sergey Senozhatsky Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jan 10, 2024 at 10:15=E2=80=AFPM Tomasz Figa w= rote: > > On Fri, Dec 29, 2023 at 1:11=E2=80=AFAM Masahiro Yamada wrote: > > > > On Thu, Dec 28, 2023 at 4:09=E2=80=AFPM Tomasz Figa wrote: > > > > > > The new target is called 'checkconfig' and currently is basically an > > > alias for `listnewconfig` with KCONFIG_WARN_UNKNOWN_SYMBOLS set to tr= ue. > > > It can be used to validate if the current config is directly compatib= le > > > with the current kernel version or needs some manual adjustment. > > > > > > Signed-off-by: Tomasz Figa > > > > > > I rejected a new target in the past. > > > > https://lore.kernel.org/all/20230817012007.131868-1-senozhatsky@chromiu= m.org/T/#m55c37e3091158f8cb008d9e0b5c6bf3f5ead225a > > > > That was specifically for the unrecognized symbols warning. What I'm > proposing is a universal target that would include any possible > diagnostics. > > > > > > > Instead, you can run > > > > KCONFIG_WARN_UNKNOWN_SYMBOLS=3D1 make listnewconfig > > > > or > > > > make W=3Dc listnewconfig > > > > > > I can do so, because my team member implemented it and told me and > other team members about it. But how would someone who hasn't heard > about it be aware of the existence of this useful feature? People are not aware of your 'checkconfig' until they run 'make help'. The same for W=3Dc. 'make help' explains it. c: extra checks in the configuration stage (Kconfig) --=20 Best Regards Masahiro Yamada