From patchwork Fri Jun 29 09:12:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dirk Gouders X-Patchwork-Id: 10495919 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 416CF601C7 for ; Fri, 29 Jun 2018 09:18:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3DC26298DF for ; Fri, 29 Jun 2018 09:18:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3069F29900; Fri, 29 Jun 2018 09:18:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=2.0 tests=BAYES_00, DKIM_ADSP_DISCARD, DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 74523298DF for ; Fri, 29 Jun 2018 09:17:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752600AbeF2JR7 (ORCPT ); Fri, 29 Jun 2018 05:17:59 -0400 Received: from services.gouders.net ([141.101.32.176]:37424 "EHLO services.gouders.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751740AbeF2JR6 (ORCPT ); Fri, 29 Jun 2018 05:17:58 -0400 Received: from lena.gouders.net ([193.175.198.193]) (authenticated bits=0) by services.gouders.net (8.14.8/8.14.8) with ESMTP id w5T9D0x4019652 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 29 Jun 2018 11:13:31 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gouders.net; s=gnet; t=1530263611; bh=cru5OSxfY5SvdLtX4gn6D9iitM47Gct6qJRQvAZuPP0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=SOy5cRsRb9A0zqZ5+ywNmP51o0J7zuz5t5z+vrOA0qlB5kFnd5fuk1LP/LxbLBWWs LVO5We/jEhvjiRMuKUnRTFZh7U5GcIPCMFb6URNKJ4DJ2S1pmAZvUf9TyUsnxYYFx9 VwlAgsUH3shjpEiG4yHMLrKxMuD+7MtXd4xxZqps= From: Dirk Gouders To: Masahiro Yamada Cc: Dirk Gouders , Linux Kbuild mailing list , Sam Ravnborg Subject: [PATCH 2/2] kconfig: fix comment for symbol flag SYMBOL_AUTO Date: Fri, 29 Jun 2018 11:12:37 +0200 Message-Id: <20180629091237.16620-3-dirk@gouders.net> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180629091237.16620-1-dirk@gouders.net> References: <20180629091237.16620-1-dirk@gouders.net> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP I could not verify the comment for that symbol flag. I could only find that flag set for choices and the defconfig_list symbol in a dump of all symbols, which corresponds to the only two locations in the code where that flag is being set explicitely. Signed-off-by: Dirk Gouders Cc: Sam Ravnborg --- scripts/kconfig/expr.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h index 94a383b21df6..0f53e44f14d6 100644 --- a/scripts/kconfig/expr.h +++ b/scripts/kconfig/expr.h @@ -141,7 +141,9 @@ struct symbol { #define SYMBOL_OPTIONAL 0x0100 /* choice is optional - values can be 'n' */ #define SYMBOL_WRITE 0x0200 /* write symbol to file (KCONFIG_CONFIG) */ #define SYMBOL_CHANGED 0x0400 /* ? */ -#define SYMBOL_AUTO 0x1000 /* value from environment variable */ +#define SYMBOL_AUTO 0x1000 /* Symbols of type choice and the + * symbol with option defconfig_list + * have this flag set */ #define SYMBOL_CHECKED 0x2000 /* used during dependency checking */ #define SYMBOL_WARNED 0x8000 /* warning has been issued */