Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2720161imj; Mon, 11 Feb 2019 07:29:07 -0800 (PST) X-Google-Smtp-Source: AHgI3Iaq9GNSaR2CdJDMCwTqjIIpFrYulTlnoQBO3/EeqLlvezLJlkER+4vUgkLU3HSoDdtpxOHE X-Received: by 2002:aa7:8a17:: with SMTP id m23mr25390399pfa.258.1549898947142; Mon, 11 Feb 2019 07:29:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549898947; cv=none; d=google.com; s=arc-20160816; b=bvLezRpLoYURKplFkw3YgWh7ZIFNuZ48leJE/Ed8F+UqkksDm/21XnA4gPgkXX/TDk 381w9P5LIvzuR1GDTHOvuP0kOslVQupMViGZ+4AhG+6aiXnnYreiDp5wZwxIJYmy7Xeu /hm7d18xtZlRKiFBnTEHHk+uvKoiWaTLv7gTXA5rFLQL4Y0454k5bbOC5oTaM2Mr6cJH ATjRqbpR8Qj5S88zGTZWagqii6H+C0rILfuWorRnWRW67ypD1helwFi+tnSAwGCS0b4t 4LlK9cCfwcs2lBpwus2CLatRYjhZmoXsdfmKqLWmCFN3y/vDgGuGQy3QW3FJWGzCnuk+ NCKw== 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=IncQqc7wpJJBvGl9fSZ3uBEME+U0EMkZJNUbY1ET/P8=; b=jPvdnO2Z3ZDX1KvgEw8J4RGvLoLaXD9xPyMC3l/HCa0KugM8l1+1tE18DvHFPgGHXh YFwrtu+6gwTE2CR/rkEhtU6YX4mV4riXbjFBaHIdfK7yKsGAPdjmPxMLKrtyazcv7Y9t 6Us7S2bw2nC00n5fI5nAxOCT297FcIsNu92uov54qMRhFiOHXHSju3w2uzVm+MGeUmGC vvqB4UAMw2v5/UqSMTyddIp08T1OZFJZvf8pLNFojEp7QxdoF7IDwbnK57eImAHaHm9c D/ri+9waxy545dTLq6XopftlUMhy+yCRvWCZSs7pcHEMrQHwj1jGBRRTYXKGJ1SMLp8J p2fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1JlEv+JZ; 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 9si10224934pfq.129.2019.02.11.07.28.51; Mon, 11 Feb 2019 07:29:07 -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=1JlEv+JZ; 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 S2388989AbfBKP2C (ORCPT + 99 others); Mon, 11 Feb 2019 10:28:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:46536 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389211AbfBKO6u (ORCPT ); Mon, 11 Feb 2019 09:58:50 -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 66EE720700; Mon, 11 Feb 2019 14:58:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549897129; bh=T6nHl2T1XdFOgtJKc0Bri1qA17owfE0huwB5c9lSgZk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1JlEv+JZmtbdkb3TNOsHBEW7QTIkvA+b9d0ZvDfqtcz+jDKbSIdweVaf6pE3EDP7w VDu/0UP6QnsKqmM363eNgRr8thC9vOZldjgP4itFwxPhLweR0nLVY0uwb7egPMKkaE fovv4iHcYEAn5QL70J5L17z2T+AKH6OqqdcBkIf0= 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.14 101/205] perf test: Fix perf_event_attr test failure Date: Mon, 11 Feb 2019 15:18:19 +0100 Message-Id: <20190211141835.197143301@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141827.214852402@linuxfoundation.org> References: <20190211141827.214852402@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.14-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