From: y@borg.net
To: Andrew Morton <akpm@linux-foundation.org>,
Joe Perches <joe@perches.com>,
Randy Dunlap <randy.dunlap@oracle.com>
Cc: linux-kernel@vger.kernel.org, Geert Uytterhoeven <geert@linux-m68k.org>
Subject: [PATCH 1/4] include/linux/printk.h is not self-contained
Date: Wed, 25 May 2011 11:09:14 +0200 [thread overview]
Message-ID: <1306314554-19198-1-git-send-email-y> (raw)
From: Geert Uytterhoeven <geert@linux-m68k.org>
<linux/printk.h> needs to include
- <stdarg.h> for "va_list",
- <linux/linkage.h> for "asmlinkage",
- <linux/types.h> for "bool".
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
include/linux/printk.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/linux/printk.h b/include/linux/printk.h
index ee048e7..6388bc8 100644
--- a/include/linux/printk.h
+++ b/include/linux/printk.h
@@ -1,6 +1,10 @@
#ifndef __KERNEL_PRINTK__
#define __KERNEL_PRINTK__
+#include <stdarg.h>
+#include <linux/linkage.h>
+#include <linux/types.h>
+
extern const char linux_banner[];
extern const char linux_proc_banner[];
--
1.7.0.4
next reply other threads:[~2011-05-25 9:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-25 9:09 y [this message]
2011-05-25 14:42 ` Joe Perches
2011-05-25 15:20 ` Geert Uytterhoeven
2011-05-25 15:52 ` Alexey Dobriyan
2011-05-25 17:02 ` [PATCH 0/4] printk: cleanups of direct includes Joe Perches
2011-05-25 17:02 ` [PATCH 1/4] treewide: Remove direct includes of printk.h Joe Perches
2011-05-25 17:02 ` [PATCH 2/4] staging: " Joe Perches
2011-05-26 7:37 ` Roland Vossen
2011-05-29 17:00 ` julie Sullivan
2011-05-29 20:40 ` Joe Perches
2011-05-25 17:02 ` [PATCH 3/4] printk: Don't allow direct inclusion Joe Perches
2011-05-25 17:02 ` [PATCH 4/4] treewide: Remove asmlinkage from printk Joe Perches
2011-05-25 17:09 ` [PATCH 1/4] include/linux/printk.h is not self-contained Randy Dunlap
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=1306314554-19198-1-git-send-email-y \
--to=y@borg.net \
--cc=akpm@linux-foundation.org \
--cc=geert@linux-m68k.org \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=randy.dunlap@oracle.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®