Received: by 10.213.65.68 with SMTP id h4csp496677imn; Fri, 16 Mar 2018 09:30:52 -0700 (PDT) X-Google-Smtp-Source: AG47ELvbCQ5oPABLnEO5RGG7+BrBix6hvmHvmKXZjDX6Mqvyxr3tSA6Ojj8idFNIjN5QfAp3YkfJ X-Received: by 2002:a17:902:a70f:: with SMTP id w15-v6mr2788668plq.79.1521217852609; Fri, 16 Mar 2018 09:30:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521217852; cv=none; d=google.com; s=arc-20160816; b=ahYAD73guadNtpZQgOQFmhGfFASszZRgIZIk5xqmjOOwe5V3UTx0KDpXFEE3MD8BbE 3TGmDwL1lwOgfIS6EgZv2lZWPzASVOZIruE0ETHICqg62heQ3yBXJlQFXwCm4jsEBjlU aoQoJc0hlDojnExFwFZzTngaN1+DeEBnwaNSYd5o+eNS8zDoMPgSsyN66r0LmLwkwxYG IX/t9Cfvys63E5B6fNOGVzAh2gpIN4T/Kdu5IBNV5nhV08E+mMSz5GtECAtVT0U1M7q3 zlEL00Uy60X8RoKkJs4zOoWpXm6WrlLpvlgeuWKNANXOH2uRZcwxgMopLxVJCyFZkATS yPgQ== 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=B/EbTfL+pfl3ffdzNqqhez8ceTlZucMWb002JRX+YKs=; b=jpcjFgzdorJCy7Y7YjjpNpSrEZjPHKamEoFVg3P4fgmwbQtiIIOxsXb0FVXeibthuW a3N/oq/dFlg4Iwt1mpDbEanEPkIuVWRccZnZdZFz9Rrl4mWtyfcfV4eqxmktzoQmiCWV ou/WaJEQ6FNrowo1+0OrI1mELJBfrxnK3sy5Q4j8ljSoZJ6hQ84CbrU7jvPo9OjCU8P5 JByGQexUTwzmW5brscsmRW+4gqJDKFoD6HriOqPRm5hELhze4fVSyVpVD2/kwgzd6TeK VvSs9DZuGJV46L8LDC8DU+la9ZfwA5agvX/FELKqxs4dmMoKpKkm/uyX3s3Z+Fb1bHm1 J8OA== 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 62si5764248pfh.153.2018.03.16.09.30.38; Fri, 16 Mar 2018 09:30:52 -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 S1752844AbeCPQ2z (ORCPT + 99 others); Fri, 16 Mar 2018 12:28:55 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:43096 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964860AbeCPPi5 (ORCPT ); Fri, 16 Mar 2018 11:38:57 -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 1FF3549F; Fri, 16 Mar 2018 15:38:56 +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.14 104/109] rcutorture/configinit: Fix build directory error message Date: Fri, 16 Mar 2018 16:24:13 +0100 Message-Id: <20180316152335.494871948@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180316152329.844663293@linuxfoundation.org> References: <20180316152329.844663293@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.14-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