Received: by 10.213.65.68 with SMTP id h4csp1781653imn; Mon, 19 Mar 2018 13:06:20 -0700 (PDT) X-Google-Smtp-Source: AG47ELtAwyoHK6Zc5mwTKDZWG/YF3SalUFr7xYH3wn57fmkVavL29+YYNpko1E/f8oHgX9KIg75K X-Received: by 10.99.95.78 with SMTP id t75mr10075261pgb.330.1521489980684; Mon, 19 Mar 2018 13:06:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521489980; cv=none; d=google.com; s=arc-20160816; b=OpFOwfMxTrS0Ar8qIJV6q/xo9o2ZwjcApHe7PQCvIP94TVVP6J9DNrProaM7/LFlfG 04thN6JYJM2RSCVh4PKO8xPd3yc+FVecL6VzZiNZG/kTh0e17rC56T/FioJGt/l1nLr/ d52XExQa+4/6jZsKpLb/R+fGPbb9xZ6ryWThF+xTJ6PobQxb4knw2mXkvIt3uwrqjK54 jCKZQxUcnnH9EfO4dxABbw/YoiyzzD9GdiORlg63BY4bRGRPLlDoWAWoWgqVZT5Vwv+0 BPjpyNXay5CLo5GM4U+4AbZPptfgnqCndhCcbSgR+GgeAAOpjo4XpQJ5k4ltrTxVmi98 fPxg== 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=JlILj6RgkRPnhKYO4qxmWOF5pmHo41g2Z/5DRs/8bNs=; b=pyxWduAp8NWmTabpKWEWMs2HfCdCPPkdfKU/4QZXIZ03PGJNVYuAijIJzt4WETIhjN WIf2c9b+xdO5gaPVdhkLEBgpITnwjZsyb4xDXAHdcCo4ur190Wb5PaextnpLPV5dKxLX oMKq97JsN88CsYC1eltPolvPjuB9rKjUscfvR5lZR8FQHmHNfUIdrsMLneaV49rwwDMX bGdFwKMBHVg56azKQekd7GzKouyDLgC4I6bjGpR+AocaNd7Tr0dO6k1CaQEGEXtdQJ7c p/4tUx6MUt6wlR0m1XYCjLLBrgPtow8uTkFqyBybXqt00gDdSMdyRnIgXhBM+WspKTsi qNfQ== 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 91-v6si566444pla.473.2018.03.19.13.06.06; Mon, 19 Mar 2018 13:06:20 -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 S1030875AbeCSUDJ (ORCPT + 99 others); Mon, 19 Mar 2018 16:03:09 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:45874 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S969264AbeCSSSJ (ORCPT ); Mon, 19 Mar 2018 14:18:09 -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 BB961124E; Mon, 19 Mar 2018 18:18:08 +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.4 108/134] rcutorture/configinit: Fix build directory error message Date: Mon, 19 Mar 2018 19:06:31 +0100 Message-Id: <20180319171904.844070036@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319171849.024066323@linuxfoundation.org> References: <20180319171849.024066323@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.4-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