The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] tracing/ftrace: fix missing include string.h
@ 2009-03-27 13:18 Frederic Weisbecker
  2009-03-27 13:22 ` [PATCH v2] " Frederic Weisbecker
  0 siblings, 1 reply; 4+ messages in thread
From: Frederic Weisbecker @ 2009-03-27 13:18 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: Steven Rostedt, LKML, Frederic Weisbecker

Building a kernel with tracing can raise the following warning on
tip/master:

kernel/trace/trace.c:1249: error: implicit declaration of function 'vbin_printf'

We are missing an include to string.h

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
---
 kernel/trace/trace.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 2a81dec..704cd7f 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -30,6 +30,7 @@
 #include <linux/percpu.h>
 #include <linux/splice.h>
 #include <linux/kdebug.h>
+#include <linux/string.h>
 #include <linux/ctype.h>
 #include <linux/init.h>
 #include <linux/poll.h>
-- 
1.6.1


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

end of thread, other threads:[~2009-04-07 13:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-27 13:18 [PATCH] tracing/ftrace: fix missing include string.h Frederic Weisbecker
2009-03-27 13:22 ` [PATCH v2] " Frederic Weisbecker
2009-04-03 16:18   ` Steven Rostedt
2009-04-07 13:12   ` [tip:tracing/urgent] " Frederic Weisbecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox