Received: by 10.213.65.68 with SMTP id h4csp1750392imn; Mon, 19 Mar 2018 12:13:53 -0700 (PDT) X-Google-Smtp-Source: AG47ELt5fU1gUSPWHKrTzfi7Ypw+OpLcAOCmmWVPqib6JPm17DmY2AYowqbXwjzDIfH8spX6SpLF X-Received: by 2002:a17:902:aa89:: with SMTP id d9-v6mr13595607plr.337.1521486833389; Mon, 19 Mar 2018 12:13:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521486833; cv=none; d=google.com; s=arc-20160816; b=IUPdCdwvGwS0eKRwRiMRMrjb/YbsEKS+od6zGcoalJ0oLeSHbz+QZaoKRMGsEdsozS 5d0YnvhlPyYQS11yUEhAzY7qwKOA13nzZVdC3L+DQmzYu5VUJ0ZwimulE0VGTFHhpEww KypB8mF2rrTrnDZe/Bb2S+9BwV+/8do2Ziaa0MMhPU59atMFfynKBl46NCDbqL6oeyLr e62lW3yMmGR04yoYH+VEifuX0+YypI9HJ+lBoZ1H1YDuc29U479gmtNUcGVr+ZYiS8cS amyd1WoDxNsTr2LejLfrfpARZAuwX6XLcNW3NAtTWKTSfGKvrntXANLk6+1m/lbimXJG 0wPA== 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=M3yT+Pbt8TcdtyoV6nRrTrSsvkms5DKbEfYuN3cwrpU=; b=wt9ZyMLQBUuVlIGzI4NXJcJq2rS34iqoJWbuzv0PGQWCnATXLstVZGbwx09Bd7EnzA pwdiAzGLnPA+eptyEcgJEfMMau7r8deIvzLJlNzXi0tCLCt49svYcDwknY+PtQSUBeoD fdfr0ezo0CiubPKfXBMYZb4zD8d02rNVNGJyIfaebDO+j4Am2ve8ew0M7QiKPaOCUqLW 2QxkwcPKSOdJd65Q3/RLFgrsa2bMynQmHVrwWZdYioeNBBbKf3iMrI8WNvioIeoX7/KQ fA21t2fwNr5pMnEGZ12BpWqPX96s4jlZL0Sufuz5gBF88wfX3LDmryB7DlZU9Z8amgsR oJhw== 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 u25si355582pgv.221.2018.03.19.12.13.37; Mon, 19 Mar 2018 12:13:53 -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 S970721AbeCSTMB (ORCPT + 99 others); Mon, 19 Mar 2018 15:12:01 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:51158 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S969958AbeCSS1R (ORCPT ); Mon, 19 Mar 2018 14:27:17 -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 3DF6E11D5; Mon, 19 Mar 2018 18:27:16 +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.9 207/241] rcutorture/configinit: Fix build directory error message Date: Mon, 19 Mar 2018 19:07:52 +0100 Message-Id: <20180319180759.745131675@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319180751.172155436@linuxfoundation.org> References: <20180319180751.172155436@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.9-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