Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2759844imj; Mon, 11 Feb 2019 08:04:41 -0800 (PST) X-Google-Smtp-Source: AHgI3IZYILUis4b/p5dMWSD3KQ4M+dYvBIKQY8E6f6YxiBlzsXT8t2EffYO/Z/Ezxro+Iqukx+Em X-Received: by 2002:a63:555b:: with SMTP id f27mr19212902pgm.313.1549901081383; Mon, 11 Feb 2019 08:04:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549901081; cv=none; d=google.com; s=arc-20160816; b=rORY2pzeR61y8u2IAZDeQ5sCvY4+DXsEGeVkMTUQEVvMoOO9WYiUiVS4k8TmGmakeY Z8S1d7Q0UAAvFI/BmsBi3P7k/3b1u1Hivdd8UqUf5OJg2SL98rVqxHXnpzlgA5f5fOz/ GvrRZlepAO+p74zjcYq68u0rj9YxFnbBy2rV3mwAO3nJKfkWYxERaAJk3bsEItZCiv6n 0dDCtEfMl0ywHa9eSv3ZeTh9ji3FByHmKJEfMXyNFFxf4dqx43vJHTkTsYJ4SZ7P7gH7 aihQ04/tZUPao3CEhXHH0oTUwYgsuxR+hPyhkZFBG9NJQfVVqeslHJbXfbebC9i1aP/5 +amw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=u08Jd+JwL9dDKMP5kcqgFOiLtUFVOr6VC+s33UaCAZE=; b=Nd1Y6ZGsdZnf5xxnuPdOPK+LhVcddo4xbcO/OB8jDEdH+MC8iS85DAxrF0dVOhLUcX rcvumXTQsefLnSfrvgl1RsbMnDH7jLb3L6jNLYNoeLStuufmuFNl8+6PZPYNboUjP4IJ +WplT+oeZHBw4l/daI4hf+/Jw0h1Ry4k/jkTddir9Cc78YCc8n2MxKaJqbbj1/MRES7o Sy2ITCGQX4zh6RYL7v+fDRIgmQJiozWNgg1j5t/DTFoeyNco0+7CNXPi7nEBMWLovNCt hoj0ghdyO5LycdQA2y3ibrT3NueHQX7I/3ssbgseH9HKtUL7XT7Z2LHHYjGbDJfqcyNj 4LiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="kZHnK/q9"; 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 f14si9117459pln.221.2019.02.11.08.04.14; Mon, 11 Feb 2019 08:04:41 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b="kZHnK/q9"; 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 S1729588AbfBKO3l (ORCPT + 99 others); Mon, 11 Feb 2019 09:29:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:35764 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729546AbfBKO3i (ORCPT ); Mon, 11 Feb 2019 09:29:38 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 02AB820675; Mon, 11 Feb 2019 14:29:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549895378; bh=PzYSum2dKAw5nRTItD9Re6ziMpYE2Ehql/BW0xxdgp0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kZHnK/q9RsNujOs5rFzXqOLxQDKPyKCrPKVhFBeff3fXlmoAf25zCKGXIo2kwW3jM OY+AB2ojCeMaRK9XLiaskaXpRxm0y1aO304ApTK1MwN2EvKaYucyeun0kohcZgm9vA CPOFglBP33BaBjoHq8MqY8F2K5PW0DBbACyCUwWw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Adrian Hunter , Jiri Olsa , Arnaldo Carvalho de Melo , Sasha Levin Subject: [PATCH 4.20 186/352] perf test: Fix perf_event_attr test failure Date: Mon, 11 Feb 2019 15:16:53 +0100 Message-Id: <20190211141858.950074781@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141846.543045703@linuxfoundation.org> References: <20190211141846.543045703@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.20-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 741dad88dde296999da30332157ca47f0543747d ] Fix inconsistent use of tabs and spaces error: # perf test 16 -v 16: Setup struct perf_event_attr : --- start --- test child forked, pid 20224 File "/usr/libexec/perf-core/tests/attr.py", line 119 log.warning("expected %s=%s, got %s" % (t, self[t], other[t])) ^ TabError: inconsistent use of tabs and spaces in indentation test child finished with -1 ---- end ---- Setup struct perf_event_attr: FAILED! Signed-off-by: Adrian Hunter Cc: Jiri Olsa Link: http://lkml.kernel.org/r/20181122140456.16817-1-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Sasha Levin --- tools/perf/tests/attr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/tests/attr.py b/tools/perf/tests/attr.py index ff9b60b99f52..44090a9a19f3 100644 --- a/tools/perf/tests/attr.py +++ b/tools/perf/tests/attr.py @@ -116,7 +116,7 @@ class Event(dict): if not self.has_key(t) or not other.has_key(t): continue if not data_equal(self[t], other[t]): - log.warning("expected %s=%s, got %s" % (t, self[t], other[t])) + log.warning("expected %s=%s, got %s" % (t, self[t], other[t])) # Test file description needs to have following sections: # [config] -- 2.19.1