[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150413120727.3bb82df0@gandalf.local.home>
Date: Mon, 13 Apr 2015 12:07:27 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Greg KH <greg@...ah.com>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>,
Arnd Bergmann <arnd@...db.de>, linux-next@...r.kernel.org,
linux-kernel@...r.kernel.org,
Tomas Winkler <tomas.winkler@...el.com>
Subject: [PATCH] mei: trace: Remove unused TRACE_SYSTEM_STRING define
TRACE_SYSTEM_STRING is defined in mei-trace.h but is unused. Worse yet,
the ftrace tracing infrastructure is using it now and this causes
warnings about redefined macros.
Remove the define of TRACE_SYSTEM_STRING from mei-trace.h
Link: http://lkml.kernel.org/r/20150413193720.56083fbf@canb.auug.org.au
Reported-by: Stephen Rothwell <sfr@...b.auug.org.au>
Signed-off-by: Steven Rostedt <rostedt@...dmis.org>
---
diff --git a/drivers/misc/mei/mei-trace.h b/drivers/misc/mei/mei-trace.h
index 5f4e1a17360b..c9e24d2b698a 100644
--- a/drivers/misc/mei/mei-trace.h
+++ b/drivers/misc/mei/mei-trace.h
@@ -26,7 +26,6 @@
#undef TRACE_SYSTEM
#define TRACE_SYSTEM mei
-#define TRACE_SYSTEM_STRING __stringify(TRACE_SYSTEM)
TRACE_EVENT(mei_reg_read,
TP_PROTO(const struct device *dev, const char *reg, u32 offs, u32 val),
--
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