[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150311144049.GH29070@kernel.org>
Date: Wed, 11 Mar 2015 11:40:49 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: David Ahern <david.ahern@...cle.com>
Cc: linux-kernel@...r.kernel.org,
Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>
Subject: Re: [PATCH] perf probe: Fix compiles due to declarations using
perf_probe_point
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists