All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: David Ahern <david.ahern@oracle.com>
Cc: linux-kernel@vger.kernel.org,
	Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Subject: Re: [PATCH] perf probe: Fix compiles due to declarations using perf_probe_point
Date: Wed, 11 Mar 2015 11:40:49 -0300	[thread overview]
Message-ID: <20150311144049.GH29070@kernel.org> (raw)
In-Reply-To: <1426084580-60780-1-git-send-email-david.ahern@oracle.com>

Em Wed, Mar 11, 2015 at 10:36:20AM -0400, David Ahern escreveu:
> perf fails to build with gcc "(GCC) 4.4.7 20120313 (Red Hat 4.4.7-4.0.9)"
> (a.k.a., RHEL6 / CentOS 6 / OL 6):
> 
> cc1: warnings being treated as errors
> util/probe-event.c: In function ‘get_alternative_line_range’:
> util/probe-event.c:359: error: missing initializer
> util/probe-event.c:359: error: (near initialization for ‘pp.file’)
> util/probe-event.c:359: error: missing initializer
> util/probe-event.c:359: error: (near initialization for ‘result.function’)
> 
> Fix by bringing in initializers to declaration.

Thanks, applied to perf/core.

- Arnaldo

  reply	other threads:[~2015-03-11 14:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-11 14:36 [PATCH] perf probe: Fix compiles due to declarations using perf_probe_point David Ahern
2015-03-11 14:40 ` Arnaldo Carvalho de Melo [this message]
2015-03-14  7:05 ` [tip:perf/core] " tip-bot for David Ahern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150311144049.GH29070@kernel.org \
    --to=acme@kernel.org \
    --cc=david.ahern@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=masami.hiramatsu.pt@hitachi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.