[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150413104328.GB6390@kroah.com>
Date: Mon, 13 Apr 2015 12:43:28 +0200
From: Greg KH <greg@...ah.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Arnd Bergmann <arnd@...db.de>,
Steven Rostedt <rostedt@...dmis.org>,
linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Tomas Winkler <tomas.winkler@...el.com>
Subject: Re: linux-next: build warnings after merge of the char-misc tree
On Mon, Apr 13, 2015 at 07:37:20PM +1000, Stephen Rothwell wrote:
> Hi all,
>
> After merging the char-misc tree, today's linux-next build (x86_64
> allmodconfig) produced these warnings:
>
> In file included from include/trace/define_trace.h:90:0,
> from drivers/misc/mei/mei-trace.h:76,
> from drivers/misc/mei/mei-trace.c:21:
> include/trace/ftrace.h:28:0: warning: "TRACE_SYSTEM_STRING" redefined
> #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name)
> ^
> In file included from include/trace/define_trace.h:83:0,
> from drivers/misc/mei/mei-trace.h:76,
> from drivers/misc/mei/mei-trace.c:21:
> drivers/misc/mei/./mei-trace.h:29:0: note: this is the location of the previous definition
> #define TRACE_SYSTEM_STRING __stringify(TRACE_SYSTEM)
> ^
> In file included from include/trace/ftrace.h:134:0,
> from include/trace/define_trace.h:90,
> from drivers/misc/mei/mei-trace.h:76,
> from drivers/misc/mei/mei-trace.c:21:
> drivers/misc/mei/./mei-trace.h:29:0: warning: "TRACE_SYSTEM_STRING" redefined
> #define TRACE_SYSTEM_STRING __stringify(TRACE_SYSTEM)
> ^
> In file included from include/trace/define_trace.h:90:0,
> from drivers/misc/mei/mei-trace.h:76,
> from drivers/misc/mei/mei-trace.c:21:
> include/trace/ftrace.h:28:0: note: this is the location of the previous definition
> #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name)
> ^
> In file included from include/trace/define_trace.h:90:0,
> from drivers/misc/mei/mei-trace.h:76,
> from drivers/misc/mei/mei-trace.c:21:
> include/trace/ftrace.h:28:0: warning: "TRACE_SYSTEM_STRING" redefined
> #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name)
> ^
> In file included from include/trace/define_trace.h:83:0,
> from drivers/misc/mei/mei-trace.h:76,
> from drivers/misc/mei/mei-trace.c:21:
> drivers/misc/mei/./mei-trace.h:29:0: note: this is the location of the previous definition
> #define TRACE_SYSTEM_STRING __stringify(TRACE_SYSTEM)
> ^
> In file included from include/trace/ftrace.h:134:0,
> from include/trace/define_trace.h:90,
> from drivers/misc/mei/mei-trace.h:76,
> from drivers/misc/mei/mei-trace.c:21:
> drivers/misc/mei/./mei-trace.h:29:0: warning: "TRACE_SYSTEM_STRING" redefined
> #define TRACE_SYSTEM_STRING __stringify(TRACE_SYSTEM)
> ^
> In file included from include/trace/define_trace.h:90:0,
> from drivers/misc/mei/mei-trace.h:76,
> from drivers/misc/mei/mei-trace.c:21:
> include/trace/ftrace.h:28:0: note: this is the location of the previous definition
> #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name)
> ^
>
> Introduced by commit a0a927d06d79 ("mei: me: add io register tracing")
> interacting with commit acd388fd3af3 ("tracing: Give system name a
> pointer") from the ftrace tree.
>
> TRACE_SYSTEM_STRING should be removed from drivers/misc/mei/mei-trace.h
> as it is not being used anywhere in the mei-trace code.
That's nice for such system-wide changes to be done at the last possible
minute in the development cycle :(
Anyway, someone from the trace subsystem wish to send me a patch for
this?
thanks,
greg k-h
--
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