Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3886304rdh; Tue, 28 Nov 2023 06:31:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IEyjUrVxYG/0U4GUy+I9kz9a31CgRaA1cH2MagkSh28X5V/JBPbOEKVUye7+VDA8yYbOY1J X-Received: by 2002:a05:6a20:12c7:b0:187:4329:f06d with SMTP id v7-20020a056a2012c700b001874329f06dmr23056530pzg.31.1701181890666; Tue, 28 Nov 2023 06:31:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701181890; cv=none; d=google.com; s=arc-20160816; b=h0mYYRo/YONNiAC6zSoSvQN0qxY+HepCLUA6X3SjFgNXW+nOMtoYetsA3WED/M5OeY oSaJKZD6yDGHVFIsBDXCRKpaq2Oj+OHnLg+ZnIRxs31rP8pc0N9zB3nSbz5j8n8dymnJ eDIOLPIIoBT4RLMO8XXnqyUELHlT9w223vqau4K1QrBx5sVqN9jsmFEPJ9+oyhH23lCa KSb67WOZhb21EK2zzjbizueumWMsGk0zPwIMM4lbrLMu1HkWcL9EKpeCqJmqoPI/fqRN jdNxcddxULkiGd1zaEFH72PadBuAV2cWEyvNWbs1n+iFkqKZ9G1ulGk/pf4it0p4L9al Pviw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ZafUz/tBS+WxAqK8BrScQ+1PsQuHRQibBxd+i4NeQAw=; fh=beuoOka9IeQqDfdRXgqBPVDnDH/4gh6qaXjroH5Jbn0=; b=Y+WaRL1R5TQ/T+qe4OjmqDBXo23zrkBf1rkMzz0ZA2LwZIRdkQQvvJ5y0wU8bk+qlV nOD4GzJ5M7cssHTw0AnwQHeV2aAK2Q4yAHmMsCv1OaU6YMLh1qDNoLDDJCU2YJ0Qg+cg p6ZtT4E3MuJRYVSD8JfiXKtQFiLQeRqItUuH6whImGVP5cgvgmM2BKq+KlJMR65COU43 pF6nCZSpUvUHZktH0UNOMbkRl2luSsGwU+fL/y52PFNKMqW5fejgzGHkQdLTM+yzn2DG SQ3LuphAH/NLangYq56/K1SS/EN8+GG8BtF9oIr7llWhBvmhbwUxl2HZWQpBnbWwecBK ktNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EAz96Pu6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id e25-20020a631e19000000b00569fd44093fsi11713206pge.230.2023.11.28.06.31.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 06:31:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EAz96Pu6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 68A5D80569A6; Tue, 28 Nov 2023 06:31:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346260AbjK1ObA (ORCPT + 99 others); Tue, 28 Nov 2023 09:31:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345709AbjK1OU0 (ORCPT ); Tue, 28 Nov 2023 09:20:26 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5216F18E for ; Tue, 28 Nov 2023 06:20:33 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB959C433CA; Tue, 28 Nov 2023 14:20:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701181233; bh=ZafUz/tBS+WxAqK8BrScQ+1PsQuHRQibBxd+i4NeQAw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=EAz96Pu6G54eCNjLGpnYue2Jz1H9mdLT4rjwuXrUj0KySio0zBUS7XM7HRTG+sOvN cvJ68LcObTkorl4drW5GvgnCEKDjLmL44N67bRd9kZ0PgU1IGmvZpWzImwyk5XuYxV f5287dK2msj8dmtzGr3kfnPjZyMn+TRaz9VTdY5x+pTwtzrYxfhdrg+eYDANWTuE8V bGz9zZGsmEPYOOZzavIorjgLbtJEjQl9XGpVYWpA1sizGKGPC8OkAe4/GJaGl91bK4 v0Y21NdmUGsZX79qBi7+kYe1JsWl9n7lilP5OLHQpQaqqgEJ3iZrerkmU0/W67fyks 1x+RbAEz8KxSw== Received: by mail-oa1-f45.google.com with SMTP id 586e51a60fabf-1fa1c3755afso1491258fac.1; Tue, 28 Nov 2023 06:20:32 -0800 (PST) X-Gm-Message-State: AOJu0YxRhQlsbPhL65I9cOuQe8Iu7JbM+nqoHwfmAZeNmRHi9Sb/T+pC UPG65Dy/nlNyRlhfeWmmb+UjR75yXmv2aXICWBU= X-Received: by 2002:a05:6871:454:b0:1f9:f54a:f5ef with SMTP id e20-20020a056871045400b001f9f54af5efmr6192409oag.19.1701181232316; Tue, 28 Nov 2023 06:20:32 -0800 (PST) MIME-Version: 1.0 References: <20231122034753.1446513-1-senozhatsky@chromium.org> <20231128053443.GA6525@google.com> In-Reply-To: <20231128053443.GA6525@google.com> From: Masahiro Yamada Date: Tue, 28 Nov 2023 23:19:55 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kconfig: WERROR unmet symbol dependency To: Sergey Senozhatsky Cc: Patrick Georgi , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Reinauer Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 28 Nov 2023 06:31:26 -0800 (PST) On Tue, Nov 28, 2023 at 2:34=E2=80=AFPM Sergey Senozhatsky wrote: > > On (23/11/22 12:47), Sergey Senozhatsky wrote: > > When KCONFIG_WERROR env variable is set treat unmet direct > > symbol dependency as a terminal condition (error). > > > > Suggested-by: Stefan Reinauer > > Signed-off-by: Sergey Senozhatsky > > Gentle ping. I believe you know this patch is too cheesy to be accepted. KCONFIG_WERROR is meant to turn all warnings to errors. I do not see getenv("KCONFIG_WERROR") sprinkled everywhere in Kconfig. One more thing, you cannot directly exit(1) from sym_calc_value(). Curses programs (menuconfig / nconfig), must call endwin() before exiting. Otherwise, the terminal will not come back to the canonical mode. You do not need to fix it, though. -- Best Regards Masahiro Yamada