Skip to contentSkip to conversation

headers_check fix: linux/auto_fs.h

PATCH In review Jaswinder Singh Rajput 1 participant 6 messages May 20, 2009 – Jun 1, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 headers_check fix: linux/auto_fs.h

fix the following 'make headers_check' warnings:

usr/include/linux/auto_fs.h:17: include of <linux/types.h> is preferred over <asm/types.h>

---
 include/linux/auto_fs.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
include/linux/auto_fs.h +1 -2
index 6326585..7b09c83 100644
@@ -14,13 +14,12 @@
 #ifndef _LINUX_AUTO_FS_H
 #define _LINUX_AUTO_FS_H
 
+#include <linux/types.h>
 #ifdef __KERNEL__
 #include <linux/fs.h>
 #include <linux/limits.h>
-#include <linux/types.h>
 #include <linux/ioctl.h>
 #else
-#include <asm/types.h>
 #include <sys/ioctl.h>
 #endif /* __KERNEL__ */
 
Signature · 1 line
1.6.1.1
#1 lore raw

PATCH 2/2 headers_check fix: linux/net_dropmon.h

fix the following 'make headers_check' warnings:

usr/include/linux/net_dropmon.h:7: found __[us]{8,16,32,64} type without #include <linux/types.h>

---
 include/linux/net_dropmon.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/linux/net_dropmon.h +1 -0
index 0217fb8..0e2e100 100644
@@ -1,6 +1,7 @@
 #ifndef __NET_DROPMON_H
 #define __NET_DROPMON_H
 
+#include <linux/types.h>
 #include <linux/netlink.h>
 
 struct net_dm_drop_point {
Signature · 1 line
1.6.1.1
#2 lore raw

Re: [RESEND][PATCH 2/2 -tip] headers_check fix: linux/net_dropmon.h

Quoted 21 lines · Jaswinder Singh Rajput

fix the following 'make headers_check' warnings:

usr/include/linux/net_dropmon.h:7: found __[us]{8,16,32,64} type without #include <linux/types.h>

---
 include/linux/net_dropmon.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/linux/net_dropmon.h +1 -0
index 0217fb8..0e2e100 100644
@@ -1,6 +1,7 @@
 #ifndef __NET_DROPMON_H
 #define __NET_DROPMON_H
 
+#include <linux/types.h>
 #include <linux/netlink.h>
 
 struct net_dm_drop_point {
#3 lore raw
In reply to Jaswinder Singh Rajput
Quoted 28 lines · Jaswinder Singh Rajput

fix the following 'make headers_check' warnings:

usr/include/linux/auto_fs.h:17: include of <linux/types.h> is preferred over <asm/types.h>

---
 include/linux/auto_fs.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
include/linux/auto_fs.h +1 -2
index 6326585..7b09c83 100644
@@ -14,13 +14,12 @@
 #ifndef _LINUX_AUTO_FS_H
 #define _LINUX_AUTO_FS_H
 
+#include <linux/types.h>
 #ifdef __KERNEL__
 #include <linux/fs.h>
 #include <linux/limits.h>
-#include <linux/types.h>
 #include <linux/ioctl.h>
 #else
-#include <asm/types.h>
 #include <sys/ioctl.h>
 #endif /* __KERNEL__ */
 
#4 lore raw
In reply to Jaswinder Singh Rajput
Quoted 6 lines · Jaswinder Singh Rajput

fix the following 'make headers_check' warnings:

usr/include/linux/auto_fs.h:17: include of <linux/types.h> is preferred over <asm/types.h>

---

I prepared headers-check tree and applied these patches on :

git://git.kernel.org/pub/scm/linux/kernel/git/jaswinder/headers-check-2.6.git

I will send headers-check patches to Linus on next merge window.

Thanks,
--
JSR

#5 lore raw
Quoted 5 lines · Jaswinder Singh Rajput
Quoted 4 lines · Jaswinder Singh Rajput

fix the following 'make headers_check' warnings:

usr/include/linux/auto_fs.h:17: include of <linux/types.h> is preferred over <asm/types.h>

Quoted 9 lines
Quoted 2 lines

---

I prepared headers-check tree and applied these patches on :

git://git.kernel.org/pub/scm/linux/kernel/git/jaswinder/headers-check-2.6.git

I will send headers-check patches to Linus on next merge window.

But these are header-check fixes so better I will send these fixes to Linus.

Thanks,
--
JSR