Received: by 10.213.65.68 with SMTP id h4csp472026imn; Fri, 16 Mar 2018 08:47:41 -0700 (PDT) X-Google-Smtp-Source: AG47ELthaSn+2XdW0MXZ8qgwAOnAGzCSJlCrSSRVHh+Q8TcGzte85IQuYd5EVqIjYwlyYPm4oKrs X-Received: by 10.99.119.137 with SMTP id s131mr1778326pgc.296.1521215261609; Fri, 16 Mar 2018 08:47:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521215261; cv=none; d=google.com; s=arc-20160816; b=pCeGg+2xRbyCOf2PSYnGFiSPuHETRAZpjLt/EQ1j4pxqUhMsvG9ijB7kjYxqbH8nJH Alctn+yW15uH0ejnFZdmbMsOwnEK7Fi4U7xGh0I1iJTd5czQRoPw250K7V6qT2uxlvx7 1mvdzzsCo6gcGoJEmtUekWyfF1SdFD43YyzFkTjQhE5w4pRydf7e658hGpU7KmI4pFBs NY7K+E5tRHaSDlhPH0iK/MOFmDymLovwU7iaRUmxuy1dajkmdjrQi18vVNCEcd+KSOp9 FXGITyPheaKK8jJreul30GLFnq8OaJFX6JMzD2y8e0rvT9GxN624r4j4ks89gPcRLS2E KiAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=zh/zIQpP2VdaB0Hgo/e8gKoky6/nZ0zB7zpNKwkzD6A=; b=fVmIJgSoCXVia0TeWJvT/zoLaCGHscPg1HgufS64MZFc/WJsaYm52xG3JazEvXlQKZ yCTwzenWzT8Ad89Pn96lEwycLCXINIBOwHh/rbcKs52MVIV4dsXSYBgvwSgBCCJloo+Z Fq3Lt2bU8y/hXbsEW/kLrK4Wf/oWXcBFWnl+44qvzf82NVUL2ZNNemo0KzHKZYoQMp7/ 2X7koe2T/Ty0kvMDWeTsYYGyFOR0Wkw4p15X+nYN08t/wnagGhsJW/Lo3nNh6e/IfwU3 CPP27Ln1lNBIgDgD4fLibR3U1aH4LlOpMlNVvsbslcykN4ri7N5sc0px+d6m3SWjchdB MKMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e23si5624151pfn.228.2018.03.16.08.47.26; Fri, 16 Mar 2018 08:47:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965544AbeCPPpY (ORCPT + 99 others); Fri, 16 Mar 2018 11:45:24 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:46324 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932967AbeCPPpV (ORCPT ); Fri, 16 Mar 2018 11:45:21 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 287ACF6D; Fri, 16 Mar 2018 15:45:20 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, SeongJae Park , "Paul E. McKenney" , Sasha Levin Subject: [PATCH 4.15 123/128] rcutorture/configinit: Fix build directory error message Date: Fri, 16 Mar 2018 16:24:24 +0100 Message-Id: <20180316152342.555859601@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180316152336.199007505@linuxfoundation.org> References: <20180316152336.199007505@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: SeongJae Park [ Upstream commit 2adfa4210f8f35cdfb4e08318cc06b99752964c2 ] The 'configinit.sh' script checks the format of optional argument for the build directory, printing an error message if the format is not valid. However, the error message uses the wrong variable, indicating an empty string even though the user entered a non-empty (but erroneous) string. This commit fixes the script to use the correct variable. Fixes: c87b9c601ac8 ("rcutorture: Add KVM-based test framework") Signed-off-by: SeongJae Park Signed-off-by: Paul E. McKenney Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- tools/testing/selftests/rcutorture/bin/configinit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/tools/testing/selftests/rcutorture/bin/configinit.sh +++ b/tools/testing/selftests/rcutorture/bin/configinit.sh @@ -51,7 +51,7 @@ then mkdir $builddir fi else - echo Bad build directory: \"$builddir\" + echo Bad build directory: \"$buildloc\" exit 2 fi fi