Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1669893

Re: [PATCH] [perf/core branch] perf coresight: Fix ARM builds caused by misplaced __printf

Path csiph.com!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod
From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] [perf/core branch] perf coresight: Fix ARM builds caused by misplaced __printf
Date Mon, 19 Jun 2017 22:00:02 +0200
Message-ID <tUb06-72g-1@gated-at.bofh.it> (permalink)
References <tT5zr-4Er-5@gated-at.bofh.it> <tU97Y-5OJ-7@gated-at.bofh.it> <tU9Um-6lI-27@gated-at.bofh.it> <tUax5-6Q2-27@gated-at.bofh.it>
X-Original-To Kim Phillips <kim.phillips@arm.com>
Dmarc-Filter OpenDMARC Filter v1.3.2 mail.kernel.org 3884C239B8
Authentication-Results mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org
Authentication-Results mail.kernel.org; spf=none smtp.mailfrom=acme@kernel.org
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
X-URL http://acmel.wordpress.com
User-Agent Mutt/1.8.0 (2017-02-23)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 61
Organization linux.* mail to news gateway
X-Original-Cc Mathieu Poirier <mathieu.poirier@linaro.org>, Peter Zijlstra <peterz@infradead.org>, Ingo Molnar <mingo@redhat.com>, Alexander Shishkin <alexander.shishkin@linux.intel.com>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
X-Original-Date Mon, 19 Jun 2017 16:52:22 -0300
X-Original-Message-ID <20170619195222.GD13640@kernel.org>
X-Original-References <20170616145907.baba73eda242efe194e072d0@arm.com> <CANLsYkyG3E9xiOyJz_5EA0B0oQGsSCy2oW7i1iY5YUxU1imKng@mail.gmail.com> <20170619184209.GB13640@kernel.org> <20170619142633.51d138db0c0b8befa0542bf6@arm.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1669893

Show key headers only | View raw


Em Mon, Jun 19, 2017 at 02:26:33PM -0500, Kim Phillips escreveu:
> On Mon, 19 Jun 2017 15:42:09 -0300
> Arnaldo Carvalho de Melo <acme@kernel.org> wrote:
> 
> > Em Mon, Jun 19, 2017 at 11:51:20AM -0600, Mathieu Poirier escreveu:
> > > On 16 June 2017 at 13:59, Kim Phillips <kim.phillips@arm.com> wrote:
> > > > -static int cs_device__print_file(const char *name, const char *fmt, ...) __printf(2, 3)
> > > > +static int __printf(2, 3) cs_device__print_file(const char *name, const char *fmt, ...)
> > > >  {
> > > >         va_list args;
> > > >         FILE *file;
> > > 
> > > I just tested Kim's solution on my side.
> > > 
> > > Acked-by: Mathieu Poirier <mathieu.poirier@linaro.org>
> > 
> > Thanks for checking, since I haven't pushed this to Ingo I just squashed
> > Kim's fix into the buggy cset.
> > 
> > Now I'm trying to build it with lots of cross build containers to see if
> > there are any other problems before push this up to Ingo.
> 
> Thanks, I'm still trying to learn the submission process...
> 
> Slightly off-topic, but when you push kernel.org/.../acme/linux.git, do
> you push --tags?

I usually just do:

git push acme.korg perf/urgent

or

git push acme.korg perf/urgent

[acme@jouet linux]$ git remote -v | grep korg
acme.korg	gitolite@gitolite.kernel.org:/pub/scm/linux/kernel/git/acme/linux.git (fetch)
acme.korg	gitolite@gitolite.kernel.org:/pub/scm/linux/kernel/git/acme/linux.git (push)
[acme@jouet linux]$ 

Or some other branch, acme/master isn't updated. I guess I should do
like tip/master, and always have acme/master with acme/perf/core merged
with acme/perf/urgent, but for now, just consider acme/perf/urgent and
acme/perf/core.
 
> If I do a fresh clone, checkout perf/core or urgent, build perf,
> PERF-VERSION-GEN first uses git to find the version number, then the
> Makefile.  But in acme/linux.git, the latest version tag looks to match
> the master branch version: 3.2: so I get a 3.2-reporting version on
> what should be 4.12-rc4 (perf/core's current Makefile):
> 
> $ tools/perf/perf --version
> perf version 3.2.gd15e591
> 
> Is this an acme/linux.git tree maintenance issue, or should
> PERF-VERSION-GEN be modified to compare versions gotten from git vs.
> the Makefile, and just use the higher one?
> 
> Thanks,
> 
> Kim

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] [perf/core branch] perf coresight: Fix ARM builds caused by  misplaced __printf Kim Phillips <kim.phillips@arm.com> - 2017-06-16 22:00 +0200
  Re: [PATCH] [perf/core branch] perf coresight: Fix ARM builds caused  by misplaced __printf Mathieu Poirier <mathieu.poirier@linaro.org> - 2017-06-19 20:00 +0200
    Re: [PATCH] [perf/core branch] perf coresight: Fix ARM builds caused  by misplaced __printf Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-06-19 20:50 +0200
      Re: [PATCH] [perf/core branch] perf coresight: Fix ARM builds  caused by misplaced __printf Kim Phillips <kim.phillips@arm.com> - 2017-06-19 21:30 +0200
        Re: [PATCH] [perf/core branch] perf coresight: Fix ARM builds caused  by misplaced __printf Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-06-19 22:00 +0200
          Re: [PATCH] [perf/core branch] perf coresight: Fix ARM builds  caused by misplaced __printf Kim Phillips <kim.phillips@arm.com> - 2017-06-19 22:30 +0200

csiph-web