Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2990264imm; Fri, 20 Jul 2018 08:16:57 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdb8UI5hy8yZ1X98Hkgit+0UX8kDzpLxEfdd2e/Faz7qAihVogoyf9MR/koFvg6+pNBGKVC X-Received: by 2002:aa7:8645:: with SMTP id a5-v6mr2566008pfo.247.1532099817170; Fri, 20 Jul 2018 08:16:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532099816; cv=none; d=google.com; s=arc-20160816; b=WLXgy1QecgC64MVG6iOkJJgyxcKFvlru9pXffP4x+C4DnPh1NolfCO962B1IZTBFdl AtkG0IlMUrx46LQPZhdbKSa0T+564tipMaMP3AVn98ezezcwRbza8/2dK5pJHAhXD4DL pZBrWnRfBeevHlsrW+2dlbdBYZ/qH+ep1+w39p7yabJpG+fJlwDXxY/xtskNgD8AnIhf zdRcuJ2lXwC2Hc9JAtmngMmnYH/jMcU6fBIkPP2kFGusQ8RWG+R/Fn191dYypsx/IF5O t42Wxg28PYKiRLswl1rjvhSUCIlLpaz0OhXxfMBPL2LIwWCMYy7IabLdfqVHaDhhkExG StQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=QAdvBI/Zp/Utv/OJQ4V37/lxnboq6PSLEe8ZW3SPnN4=; b=rPL8wCqrzpbiJvQD4jIDi0Wdycewt7mjG0HbqDgampo59xMxJnWzwLuV6VAOwEIrgP 3EckTcBCMNHZfX3HkqOETLWzisQHRckCucDVtx8//cC1j++SW17cloUfE5e4qnwOj5zP EZfuo4act+cdzPvNcObYVDiZ622hLjQse/yThuP1i3cfWR0bGLk+qpUGhFonvpLNrRbk HD17IxFmR2sfgncsUd3qJc7txdIbU6DRT/UAUraU+mICSCjh0MpbnnKW8HYO3Qq9yaRC /wzsjHeg3/3mDvIImmXmA8XgkH+Wqw/sW4ZSgLuJdmCzKNW50jaS9odRjpRkMloPrXGi kg7g== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e18-v6si2118759pgk.112.2018.07.20.08.16.41; Fri, 20 Jul 2018 08:16:56 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732790AbeGTQEG (ORCPT + 99 others); Fri, 20 Jul 2018 12:04:06 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:50128 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731035AbeGTQEG (ORCPT ); Fri, 20 Jul 2018 12:04:06 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 754524078070; Fri, 20 Jul 2018 15:15:21 +0000 (UTC) Received: from krava (ovpn-204-117.brq.redhat.com [10.40.204.117]) by smtp.corp.redhat.com (Postfix) with SMTP id 850D61C5BF; Fri, 20 Jul 2018 15:15:19 +0000 (UTC) Date: Fri, 20 Jul 2018 17:15:18 +0200 From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , lkml , Ingo Molnar , Namhyung Kim , David Ahern , Alexander Shishkin , Peter Zijlstra Subject: Re: [PATCH 3/4] perf tools: Fix check-headers.sh output file variables Message-ID: <20180720151518.GC27176@krava> References: <20180720110036.32251-1-jolsa@kernel.org> <20180720110036.32251-3-jolsa@kernel.org> <20180720145745.GB4329@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180720145745.GB4329@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Fri, 20 Jul 2018 15:15:21 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Fri, 20 Jul 2018 15:15:21 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'jolsa@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 20, 2018 at 11:57:45AM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Jul 20, 2018 at 01:00:35PM +0200, Jiri Olsa escreveu: > > The warning message in check_w function uses wrongly > > the $file variable instead of $file1 and $file2. > > Humm, > > Before: > > Warning: Kernel ABI header at 'tools/arch/powerpc/include/uapi/asm/unistd.h' differs from latest version at 'arch/powerpc/include/uapi/asm/unistd.h' > > After: > > Warning: Kernel ABI header at '../arch/powerpc/include/uapi/asm/unistd.h' differs from latest version at '../../arch/powerpc/include/uapi/asm/unistd.h' > > > The previous version is better, I can then just use: > > diff -u tools/arch/powerpc/include/uapi/asm/unistd.h arch/powerpc/include/uapi/asm/unistd.h > > and get what changed, with your change I have to go to tools/perf before > doing that diff, which is an unnecessary extra step in at least my > workflow. so all paths output based in kernel tree root then, will change jirka