Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp974723rdd; Wed, 10 Jan 2024 05:15:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IGQ5sdkBSNDOlFOIN3UBcXSjUdrFyI7nG7/RROsxtVJghwgsIioHWcqWZJECaepfXSryuC5 X-Received: by 2002:a17:906:71ce:b0:a29:dc00:ce5d with SMTP id i14-20020a17090671ce00b00a29dc00ce5dmr458315ejk.189.1704892532814; Wed, 10 Jan 2024 05:15:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704892532; cv=none; d=google.com; s=arc-20160816; b=zSWEatH5vqZPKWgVgthqzt16UJ95OzhpGRlV0C1HNPdv4uJUP7U2HY7I3b8NWxV3mC PvZ94/8XirjvaR86i5CRpyQHvAezRNKKcNqYGOgbe9JPr4uPvb0VyPEi2Na/MD/iOL5s 5zcsCesnxBZvY5W23gbd7DJTEeCDPGwqfTdSsi8U5usTMC15hCJRdPhfcZnKVYDwX8pV n0JKkZ35tNaEg3gm/n5intIiyfUqCI+K1+Q4fUtmhj+29oCIKla8i+D79jOp5N2vmeEG bnuhKeU6nx2Z39ENuuurL2iKU13Fzs2CIho8DT3EDCSESxhNgP87pYkM0tFRrehs+aSi GPQA== 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=2K17fFBJpR1/Y1vdZDJP422VcROIDsHIcrNjjivdS1A=; fh=rJgs04Jg04aXOTRloxUFUDJ10dRomt+iCl0Vlxl1Yf0=; b=aI/tW3SARBBLQGGQo9xddUCdfd1pxbYT1fwfBzYRKskKNR+t6Rv7Rm2b8Zd5o2NAg6 3aSQghP1lK0ni2GayfWPJifGSLxljgFY//18v3oGo5WC546x6L+ELKO2N2ShFQ6268wC Mkia/HeNIUr2x5iAp0bm2PCXZzb7RLEq58J2QZmR7YLErSsxL20E4PYB637wcsN2WdnQ oh3IdS0IDx48SN4jemhinYca7zDNW7HdfhMXseCgPmc4D3nJAHRcRT3NOfpUQ7mOH7zr KZou9/pr3hRcowwrmDonQ1euPgJZjsyf6DAY/LCPYcfWuNMSY37q2Bb97bqmjqyRiAyp E+8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=e71sjScO; spf=pass (google.com: domain of linux-kernel+bounces-22219-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22219-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id x17-20020a170906299100b00a2bf8b913c5si272214eje.228.2024.01.10.05.15.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 05:15:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22219-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=e71sjScO; spf=pass (google.com: domain of linux-kernel+bounces-22219-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22219-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.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 8C66A1F2557E for ; Wed, 10 Jan 2024 13:15:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5BAFE487BB; Wed, 10 Jan 2024 13:15:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="e71sjScO" Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 03CB7487AE for ; Wed, 10 Jan 2024 13:15:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-555e07761acso4967664a12.0 for ; Wed, 10 Jan 2024 05:15:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1704892516; x=1705497316; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=2K17fFBJpR1/Y1vdZDJP422VcROIDsHIcrNjjivdS1A=; b=e71sjScO8RPwLTyihOY1+0hD566166UF0mq1g3Ok9wXFRz+fxtCSHtCgit9v9tBudd Hfn/k3kRSAcljLsvcYluQxgXhoY0yH3jANR9llXa1btYKcbrXkjBIIdpoLn3ZyLa5tch 6oSN/PH17d0GE6jOJn98MZQq3H/xvhbepzwwI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704892516; x=1705497316; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2K17fFBJpR1/Y1vdZDJP422VcROIDsHIcrNjjivdS1A=; b=TMIiTs4v+8erZIm32axwcogkUbp2ln6D+hp3bHQF2fkS4kfzbeX3t5HknsqveZ7vSw 8RRXmWBZovS4WyJxnwtzy6AFf88evvYXwqja7guAeJeD1XNzTz1sRuDnGRJGYFlA/bkM T4dCBT22PKYkDlT1aM4IQrSnBlRiCZoZlwcUywp5XDjUoJQUVe8Zfd/JZ/21hJbk+GV3 n/23Ls2tf6JWg00uh1SRHmFxUgPWQ7PoF0n9Vz3cYg1jMTYidBC21ECEgeWSP25CON0s Vc/83reQRT59dzwq65Glv235SO76wrU8g9FTGO1/4lsECh6ZR7zU8YCOqgC43LwEvxqn 7ZrA== X-Gm-Message-State: AOJu0Yxr7mzUoW3LFTfr7s2jkW6K5eaQ0fJ8dGyIHoqba3JUexvIFYvp OunMyYwVTwcmbl7vGKGaxvru7frPEoFbrBYyXIh9+Z4EaMvO X-Received: by 2002:a50:8d4d:0:b0:557:32bd:1fc9 with SMTP id t13-20020a508d4d000000b0055732bd1fc9mr274784edt.4.1704892516455; Wed, 10 Jan 2024 05:15:16 -0800 (PST) Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com. [209.85.221.42]) by smtp.gmail.com with ESMTPSA id n14-20020aa7d04e000000b005574af4acd0sm1998318edo.83.2024.01.10.05.15.16 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Jan 2024 05:15:16 -0800 (PST) Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-3373a30af67so3836902f8f.0 for ; Wed, 10 Jan 2024 05:15:16 -0800 (PST) X-Received: by 2002:a5d:444d:0:b0:337:555c:6b7d with SMTP id x13-20020a5d444d000000b00337555c6b7dmr378407wrr.173.1704892515835; Wed, 10 Jan 2024 05:15:15 -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: Tomasz Figa Date: Wed, 10 Jan 2024 22:14:55 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kconfig: Add a build target for checking current config for issues To: Masahiro Yamada 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 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 true= . > > It can be used to validate if the current config is directly compatible > > 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@chromium.= 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? Best regards, Tomasz