Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp92468imm; Wed, 25 Jul 2018 23:23:46 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe31UTj5N5iTVWoHUvHr8DOWZGVzUfx8dMpGhJx9mylBKBHicfUO/eC2UxrgbLHPdQcGLS+ X-Received: by 2002:a65:4d05:: with SMTP id i5-v6mr699529pgt.58.1532586226589; Wed, 25 Jul 2018 23:23:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532586226; cv=none; d=google.com; s=arc-20160816; b=0ySd37/MJqVpgnQifTHilSyqhAIUO9qJkC56OtW87s+w9ROfsH2O16Wp6tZ6xijr/b sAaJfubk67PNe53/0XAHU7+QKxAy/bPsdb5Awimjj7y5h/W7DVrDUqJbNXpzLIzFDd2U 1c6fsR1eVgW/5s0j159emDNtbzR/AMPgKwKZJnFuYxHI0pGMxFHerMSuKwkPsa2m4FWV l1hDAA0aEefU80j0CwTAQXAF/d4+dNHtjoxlzvOticg/2lhaDPxnwEt2mSflbhmJYHOf hyYORf5XhD545cbW57KeHQFbKtqJ7qJtvLvM1H1IdsnieeYr+HRBkeJtB2lsDt9CvWNM WCZA== 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=ovn8nNrvt/36qWAxnNLKnBD2Fo4JRxktSTRdN3qnIEw=; b=gfgW2t2QVEYwUK8X9nRxTT18YLXn0bnLVj8yKyyQeqPd6w29HSrqpMTuYcRNzR3Oec vCrWSQZrvF/tuMWO0/w+sD3NZA4kk016tdr9akD3cGBJTSAue77G3lTpk3TEbpbEzQGt 5CpMb1WT9ugnnCFoZH1r8gZ7/BPnhlpaCPbpixv6MeRcXVVcjv7WURYkVm0qaK5UEPTu tEpda9b8FppPBF4QVERe1BzRbIfGr2fXM2ANf/tlHDfoM1qh/RSzzCrY5VQ3EtsygUpP CVfusN9raTigRnUekAYXue30JodkB1vcOe0C324GYkgZNaojy2c1quk/11BsE5fsNJmm ftuA== 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 k22-v6si514272pll.118.2018.07.25.23.23.31; Wed, 25 Jul 2018 23:23:46 -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 S1728718AbeGZHiA (ORCPT + 99 others); Thu, 26 Jul 2018 03:38:00 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:43596 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726430AbeGZHiA (ORCPT ); Thu, 26 Jul 2018 03:38:00 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5726540216E6; Thu, 26 Jul 2018 06:22:43 +0000 (UTC) Received: from krava (ovpn-204-138.brq.redhat.com [10.40.204.138]) by smtp.corp.redhat.com (Postfix) with SMTP id BA0AE2026D68; Thu, 26 Jul 2018 06:22:40 +0000 (UTC) Date: Thu, 26 Jul 2018 08:22:39 +0200 From: Jiri Olsa To: Alexander Kapshuk Cc: acme@kernel.org, jolsa@kernel.org, linux-kernel , mingo@kernel.org, namhyung@kernel.org, dsahern@gmail.com, alexander.shishkin@linux.intel.com, a.p.zijlstra@chello.nl Subject: Re: [PATCH 3/4] perf tools: Fix check-headers.sh output file variables Message-ID: <20180726062239.GA24334@krava> References: <20180720110036.32251-1-jolsa@kernel.org> <20180720110036.32251-3-jolsa@kernel.org> <20180720145745.GB4329@kernel.org> <20180720151518.GC27176@krava> <20180723070145.GB7523@krava> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Thu, 26 Jul 2018 06:22:43 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Thu, 26 Jul 2018 06:22:43 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.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 Tue, Jul 24, 2018 at 08:20:07AM +0100, Alexander Kapshuk wrote: SNIP > > > % file1=file1; file2=file2 > > > % cmd="echo diff $file1 $file2" > > > % test -f $file2 && > > > eval $cmd || echo "Warning: Kernel ABI header at 'tools/$file1' > > > differs from latest version at '$file2'" >&2 > > > Warning: Kernel ABI header at 'tools/file1' differs from latest > > > version at 'file2' > > > > > > Is this something you would rather leave as is, or perhaps use something > > > along the lines of the code below instead: > > > > > > test -f $file2 && { > > > eval $cmd || > > > echo "Warning: Kernel ABI header at 'tools/$file' differs from latest > > > version at '$file'" >&2 > > > } > > > > hi, > > yea, probably.. please feel free to post a patch.. just make sure all > > the displayed files paths are based on the kernel root > > > > thanks, > > jirka > > > > I'm away traveling till August 10th, and I may not be able to send the > patch in until I get back. Is that OK? sure, thanks jirka