All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tracing: Fix undelared ENOSYS in include/linux/tracepoint.h
@ 2010-06-21 11:09 Wu Zhangjin
  2010-06-21 14:28 ` Steven Rostedt
  2010-06-23 15:21 ` [tip:perf/urgent] tracing: Fix undeclared " tip-bot for Wu Zhangjin
  0 siblings, 2 replies; 6+ messages in thread
From: Wu Zhangjin @ 2010-06-21 11:09 UTC (permalink / raw)
  To: Steven Rostedt, Mathieu Desnoyers
  Cc: linux-kernel, Frederic Weisbecker, Ingo Molnar, Masami Hiramatsu

From: Wu Zhangjin <wuzhangjin@gmail.com>

The header file include/linux/tracepoint.h may be included without
include/linux/errno.h and then the compiler will fail on building for
undelcared ENOSYS. This patch fixes this problem via including <linux/errno.h>
to include/linux/tracepoint.h.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
---
 include/linux/tracepoint.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h
index 9a59d1f..103d1b6 100644
--- a/include/linux/tracepoint.h
+++ b/include/linux/tracepoint.h
@@ -14,6 +14,7 @@
  * See the file COPYING for more details.
  */
 
+#include <linux/errno.h>
 #include <linux/types.h>
 #include <linux/rcupdate.h>
 
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-06-23 15:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-21 11:09 [PATCH] tracing: Fix undelared ENOSYS in include/linux/tracepoint.h Wu Zhangjin
2010-06-21 14:28 ` Steven Rostedt
2010-06-21 15:47   ` Mathieu Desnoyers
2010-06-21 16:21     ` Steven Rostedt
2010-06-21 17:41   ` Wu Zhangjin
2010-06-23 15:21 ` [tip:perf/urgent] tracing: Fix undeclared " tip-bot for Wu Zhangjin

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.