Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3958531pxj; Tue, 11 May 2021 16:13:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxg72dSxlO0xEwv/NVpU2fk7zQxDsqCS41xpB+Fo9/6yM6NkfHZJA1Fl/D46l4at6bBypoK X-Received: by 2002:a54:4e93:: with SMTP id c19mr6422843oiy.56.1620774805913; Tue, 11 May 2021 16:13:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620774805; cv=none; d=google.com; s=arc-20160816; b=DLnvlqvlDx1pH7KW5aGght5GqDY9rh9Z0oReuUt15yEvSbsRaAGl6EzVJokbCSPSbc 8E2Kx249OuQqBfA4xP5iDlPaHtGk9CJvxucUkvnknfALVgLPSiHrKctV/AWeM7dcNqE9 2dHtH3VXYhq6yDve1PoU8ARSAI8HUFd+Dkglh3wjSY1dOqeCPVezjuKcIBO+vbRhh56k 1AVohZd78GJgFXkLEfpzfpXFFXvbi2PfSqh85GmpHKTFd91liX6M8J8xEhj5bhxdq1GO 7SCBccJ/938ktKASznop0MOU0FId3FpDmWtrLQG+lGVu9mL5qGS6Lso857QUufyTGNqs PCww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+NZSiBOs6pE6eYLWNy1NZ9iIlYXJW6jHP00vko+5Whs=; b=aDW5gMFYg8NenOXdt8Isw8bXwKz+kvoI5Y4dJwgjyxGsUag2AT9iaXVYXAf4eVvKVg jqIGfz6GmV4/1Si02glVy9zsmVJMzyxWp0u4mRVvKxi8fnSgEoHizl9+sCRy15oYkuui VsNUeafkVLjJ6XAf6RfvwXFzmmeEXjyHLWdCxw6vkn7hkkb0pTGTPhLxSZhd4X1OO+AE oAh7erhPYYjzMsxHZrZzPqGnXOjXg4tVbfeiJg7JJtOAnyHoIqWNeK1xkqh+NiySl7tu nW8qZoZxLKLSKEXBSX19uz/8blOiIEaCB45XuJAbtDFfoVKfTr8T6aKxFEL2LaDAfFQp cwdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="p/y9ffEK"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q16si20275723otn.125.2021.05.11.16.13.12; Tue, 11 May 2021 16:13:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="p/y9ffEK"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230292AbhEKXNk (ORCPT + 99 others); Tue, 11 May 2021 19:13:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:47910 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230005AbhEKXNb (ORCPT ); Tue, 11 May 2021 19:13:31 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A7A1A61919; Tue, 11 May 2021 23:12:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620774744; bh=HY7VBT4m8S8/7d/nqvvTu0wbatROPHgTmd2Csw+b3tc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=p/y9ffEKXu243P20kU1c0U0uqQBjG7+yhh4j+usXL4gnGaSQSho+IhcoSCZd720fj tU2kaU95GxkgG6h4g5aE2Yey922sFeVex2jX1C8JeRj3Fd8WDPXDfm9n8Rw3XwOl0H lwE7OuZaVzKeZIls8+kXqXosEALKRTmAbcs8oKQ5/dwhjd7yZ4gMd6gOgiKb/Bx2E0 3DeyJhQSxnUQjalxNPli1Jhkw9/oBK6QVkXAix3HVXaKfIAVWJTu8HaaWllwuJYm3p r0kbVuqVXMLEIpHjuphfNfiIKWVo339UDVES+QOynU8Sk8MWQAGKYzxCw2kCO3/jCm 53FfX7srhYIQQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 69EDB5C0138; Tue, 11 May 2021 16:12:24 -0700 (PDT) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, mingo@kernel.org, jiangshanlai@gmail.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, peterz@infradead.org, rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com, fweisbec@gmail.com, oleg@redhat.com, joel@joelfernandes.org, "Paul E. McKenney" Subject: [PATCH tip/core/rcu 01/26] torture: Fix remaining erroneous torture.sh instance of $* Date: Tue, 11 May 2021 16:11:58 -0700 Message-Id: <20210511231223.2895398-1-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20210511231149.GA2895263@paulmck-ThinkPad-P17-Gen-1> References: <20210511231149.GA2895263@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Although "eval" was removed from torture.sh, that commit failed to update the KCSAN instance of $* to "$@". This results in failures when (for example) --bootargs is given more than one argument. This commit therefore makes this change. There is one remaining instance of $* in torture.sh, but this is used only in the "echo" command, where quoting doesn't matter so much. Fixes: 197220d4a334 ("torture: Remove use of "eval" in torture.sh") Signed-off-by: Paul E. McKenney --- tools/testing/selftests/rcutorture/bin/torture.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/rcutorture/bin/torture.sh b/tools/testing/selftests/rcutorture/bin/torture.sh index 56e2e1a42569..53ec7c046262 100755 --- a/tools/testing/selftests/rcutorture/bin/torture.sh +++ b/tools/testing/selftests/rcutorture/bin/torture.sh @@ -302,7 +302,7 @@ function torture_set { kcsan_kmake_tag="--kmake-args" cur_kcsan_kmake_args="$kcsan_kmake_args" fi - torture_one $* --kconfig "CONFIG_DEBUG_LOCK_ALLOC=y CONFIG_PROVE_LOCKING=y" $kcsan_kmake_tag $cur_kcsan_kmake_args --kcsan + torture_one "$@" --kconfig "CONFIG_DEBUG_LOCK_ALLOC=y CONFIG_PROVE_LOCKING=y" $kcsan_kmake_tag $cur_kcsan_kmake_args --kcsan fi } -- 2.31.1.189.g2e36527f23