From: arnd@arndb.de
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: Sam Ravnborg <sam@ravnborg.org>,
Kyle McMartin <kyle@infradead.org>, Ingo Molnar <mingo@elte.hu>,
Jaswinder Singh Rajput <jaswinderrajput@gmail.com>,
mingo@redhat.com, dwmw2@infradead.org,
linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org
Subject: [patch 6/7] coda_psdev: dont export internals to user space
Date: Thu, 26 Feb 2009 00:51:44 +0100 [thread overview]
Message-ID: <20090225235515.843118786@arndb.de> (raw)
In-Reply-To: <20090225235138.062045835@arndb.de>
[-- Attachment #1: 0002-coda_psdev-don-t-export-internals-to-user-space.patch --]
[-- Type: text/plain, Size: 687 bytes --]
Most of this header file makes no sense in user space
and should not be exported.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
include/linux/coda_psdev.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/linux/coda_psdev.h b/include/linux/coda_psdev.h
index 07ae8f8..babce2e 100644
--- a/include/linux/coda_psdev.h
+++ b/include/linux/coda_psdev.h
@@ -6,6 +6,8 @@
#define CODA_PSDEV_MAJOR 67
#define MAX_CODADEVS 5 /* how many do we allow */
+#ifdef __KERNEL__
+
struct kstatfs;
/* communication pending/processing queues */
@@ -90,3 +92,4 @@ struct upc_req {
extern struct venus_comm coda_comms[];
#endif
+#endif
--
1.5.6.3
--
next prev parent reply other threads:[~2009-02-26 0:04 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-25 23:51 [patch 0/7] Use strict kernel types to fix the world arnd
2009-02-25 23:51 ` [patch 1/7] make exported headers use strict posix types arnd
2009-02-25 23:51 ` [patch 2/7] make most exported headers use strict integer types arnd
2009-02-25 23:51 ` [patch 3/7] make MTD " arnd
2009-02-26 0:32 ` Thiago Galesi
2009-02-26 0:34 ` Arnd Bergmann
2009-02-25 23:51 ` [patch 4/7] make drm " arnd
2009-02-25 23:51 ` [patch 5/7] make netfilter " arnd
2009-02-26 0:10 ` Jan Engelhardt
2009-02-26 0:14 ` H. Peter Anvin
2009-02-26 0:39 ` Jan Engelhardt
2009-02-26 1:02 ` H. Peter Anvin
2009-02-26 0:24 ` H. Peter Anvin
2009-02-26 0:55 ` David Miller
2009-02-26 0:58 ` H. Peter Anvin
2009-02-26 0:59 ` David Miller
2009-02-25 23:51 ` arnd [this message]
2009-02-25 23:51 ` [patch 7/7] remove __KERNEL_STRICT_NAMES arnd
2009-02-26 0:02 ` [patch 0/7] Use strict kernel types to fix the world H. Peter Anvin
2009-02-26 0:24 ` Arnd Bergmann
2009-02-26 0:30 ` H. Peter Anvin
2009-02-26 0:52 ` Arnd Bergmann
2009-02-26 0:56 ` Ingo Molnar
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=20090225235515.843118786@arndb.de \
--to=arnd@arndb.de \
--cc=dwmw2@infradead.org \
--cc=hpa@zytor.com \
--cc=jaswinderrajput@gmail.com \
--cc=kyle@infradead.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mingo@redhat.com \
--cc=sam@ravnborg.org \
/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
Powered by JetHome