Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp669058lqp; Wed, 12 Jun 2024 12:29:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV733WXaBIuLhukekGevdub4/CoffOfhQlEe9ehsdoWHIb33itGPWAecCUukLL1uWsNjLiaFKorDMu/53qYmqbe4Fka8p+xj8Ii8+k/jg== X-Google-Smtp-Source: AGHT+IGha2ln8Zu0c67swO253pGOb4PZjNkivtEDQgbfdpFjzds4nwEtRdcpTykK0+0dYfoMu191 X-Received: by 2002:a92:c26c:0:b0:375:9b4f:5e38 with SMTP id e9e14a558f8ab-375cd1a576cmr26809875ab.21.1718220544439; Wed, 12 Jun 2024 12:29:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718220544; cv=pass; d=google.com; s=arc-20160816; b=TqGVyTI8dJuXRlDyj7sV6cTe+x+1CeHH8XC9JHiStN6pRm8Rlxv+37AKTBkAoT01w5 cMhKrsspS0KlMIye080RDMBrK26ouJRmOdpRZzfIUGza4eI9vLM0rQLFgwBU1KlLC1OG X1d/07B6KD2Z/8dhZOIzTtkLON58FAMcwoorKf8o+Rih5jxMNp8KzPaWi8/uXHLyLRuy gg7xwMQE8kpWAy+m2rxsXJNQztyHF6KGuNanHhiEft5hwfFLS1vF2qDWO3/9+72mX5h6 ANpebK771ki37tYjOmq2tWVDuTl9FxJoQEyuM3PU23p0gVr5l8mkUVEMn8qB6N1XCvoB xIWg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=2MMlrIS3G55GLfVDrL+o1lC5+cNychTK4Mj+Z8dTiaM=; fh=SBpw61mOVT4S9DSNa8wbPMWahoVI6l9aFsuZqyyM2PI=; b=vgauHlUjg9g3oVbkICsiKJyGxWEvSLfwCr3mYkDlTV0Qbf4uu1/BUA1cjvirJO48v4 a7z4l01jFZXKbl7tc0R539lXphcJGVQyf0kKhUGlaq+9OyjpDw2+ebJappshF8fHHq5T Q1JTgtBOp8AaNhdgGVW2NMyzid5HfrISGLzP/8BHznk++/tZ+5x8XrjcBOvx+Fz0pOvk cjE/7HNeSZv2kFGg6YZRmH5mI26DOciIaCpbASz+dKjGBOc2LCr4oEqtQSRGmrZ+PjYw 8GADGuXa0TEVL38NPMReWXKTY51CEpgCY1EPii4afBkYup6UOpd7Ip5Hdz2pjV61Ttae uUHQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@fjasle.eu header.s=ds202307 header.b=jYy1ktd0; arc=pass (i=1 spf=pass spfdomain=fjasle.eu dkim=pass dkdomain=fjasle.eu dmarc=pass fromdomain=fjasle.eu); spf=pass (google.com: domain of linux-kernel+bounces-212154-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212154-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fjasle.eu Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6ec19177ac7si6737730a12.886.2024.06.12.12.29.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 12:29:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212154-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=fail header.i=@fjasle.eu header.s=ds202307 header.b=jYy1ktd0; arc=pass (i=1 spf=pass spfdomain=fjasle.eu dkim=pass dkdomain=fjasle.eu dmarc=pass fromdomain=fjasle.eu); spf=pass (google.com: domain of linux-kernel+bounces-212154-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212154-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fjasle.eu 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C5517289D71 for ; Wed, 12 Jun 2024 19:29:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 17B8782D8E; Wed, 12 Jun 2024 19:29:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=fjasle.eu header.i=@fjasle.eu header.b="jYy1ktd0" Received: from smtp.domeneshop.no (smtp.domeneshop.no [194.63.252.55]) (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 05461374D3; Wed, 12 Jun 2024 19:28:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.63.252.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718220537; cv=none; b=GDImIqe+nEh4hGZ3PqIWoEWKdIbsWYFUyHjd31IUEc8DaQWvhZK5WYiCyuPGYrcEY+uymzJJXxeFSqMgXNmqIPFPUYaG4+oNwRzP8J521Yr1bTydVWZIBTyKHQ8HdafyiMZHTyHMQLto2EU/guVSkvW/PiXCouxBby2LBcPRVIw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718220537; c=relaxed/simple; bh=aisbJ+fDLilxRFYRm766lfzrtLzz/zIUIO1kpGOh1Qc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=m/Gis85zVocI9FLkFcQQbTJGdGw8HAC3pMwPAEnMYXudFY2lRoIMqL1sdnpILoDRaB+Rb73ZkCbYqR4uaqK6yZanDKsVieUXRvZw2RCry+jGB2DJAFIdlB+7wmmZHv+3uAQAN5gO5gD7FKmJcICb5ov5DWrpIaMfFZsi0rZLuww= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fjasle.eu; spf=pass smtp.mailfrom=fjasle.eu; dkim=pass (2048-bit key) header.d=fjasle.eu header.i=@fjasle.eu header.b=jYy1ktd0; arc=none smtp.client-ip=194.63.252.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fjasle.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fjasle.eu DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=fjasle.eu; s=ds202307; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=2MMlrIS3G55GLfVDrL+o1lC5+cNychTK4Mj+Z8dTiaM=; b=jYy1ktd0p5FmuqKrwaQnng8OvY lGMmjdeLUGjZP28dJMfPGRqNh0Oyv8/z0BHo8Ap+uFbYE4B67FZ1CfgKTdqD+x/Kpy7jQl2xG8WVu AFJwnBA/YoJon7oyqo4+htklduONJ48fvLisp6bpTF5BilkM8sujZmrQ88INEjT1S7B7Yx2PRFpBj cYCdHRbRBE93eIa5Ux9cXm6ix1mOXORAmMFFRvkRie1zxvXRyffhxgB2Ccr6YNM0VpxL4T9U7tmni rUS/sNEUBDiMuUQc8ttwP/6BX377sNbLnskV2vGDqWCMTzGQISCr1eZn1G/zxWDPyZjQan4PW0sm/ VlopXtfg==; Received: from [2001:9e8:9cb:9501:3235:adff:fed0:37e6] (port=60650 helo=lindesnes.fjasle.eu) by smtp.domeneshop.no with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1sHTeE-005PFv-CJ; Wed, 12 Jun 2024 21:28:42 +0200 Date: Wed, 12 Jun 2024 21:28:38 +0200 From: Nicolas Schier To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] kconfig: add -e and -u options to *conf-cfg.sh scripts Message-ID: <20240612-fluorescent-magnificent-bettong-83ead6@lindesnes> References: <20240611160938.3511096-1-masahiroy@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240611160938.3511096-1-masahiroy@kernel.org> On Wed, Jun 12, 2024 at 01:08:05AM +0900, Masahiro Yamada wrote: > Set -e to make these scripts fail on the first error. > > Set -u because these scripts are invoked by Makefile, and do not work > properly without necessary variables defined. > > Both options are described in POSIX. [1] > > [1]: https://pubs.opengroup.org/onlinepubs/009604499/utilities/set.html > > Signed-off-by: Masahiro Yamada > --- Thanks, I think 'set -eu' is really a good thing. Would like to see it in even more scripts below scripts/. Reviewed-by: Nicolas Schier Kind regards, Nicolas