All of lore.kernel.org
 help / color / mirror / Atom feed
From: tip-bot for Wu Zhangjin <wuzhangjin@gmail.com>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@redhat.com,
	wuzhangjin@gmail.com, rostedt@goodmis.org, tglx@linutronix.de
Subject: [tip:perf/urgent] tracing: Fix undeclared ENOSYS in include/linux/tracepoint.h
Date: Wed, 23 Jun 2010 15:21:40 GMT	[thread overview]
Message-ID: <tip-b70e4f0529c089b00d0a6da13106db4de1ada4c7@git.kernel.org> (raw)
In-Reply-To: <1277118549-622-1-git-send-email-wuzhangjin@gmail.com>

Commit-ID:  b70e4f0529c089b00d0a6da13106db4de1ada4c7
Gitweb:     http://git.kernel.org/tip/b70e4f0529c089b00d0a6da13106db4de1ada4c7
Author:     Wu Zhangjin <wuzhangjin@gmail.com>
AuthorDate: Mon, 21 Jun 2010 19:09:09 +0800
Committer:  Steven Rostedt <rostedt@goodmis.org>
CommitDate: Mon, 21 Jun 2010 12:23:36 -0400

tracing: Fix undeclared ENOSYS in include/linux/tracepoint.h

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>
LKML-Reference: <1277118549-622-1-git-send-email-wuzhangjin@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
---
 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>
 

      parent reply	other threads:[~2010-06-23 15:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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-bot for Wu Zhangjin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tip-b70e4f0529c089b00d0a6da13106db4de1ada4c7@git.kernel.org \
    --to=wuzhangjin@gmail.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=rostedt@goodmis.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.