headers_check fix: linux/auto_fs.h
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
@@ -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
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
@@ -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
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>Signed-off-by Jaswinder Singh Rajput <[email protected]>--- include/linux/net_dropmon.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)include/linux/net_dropmon.h +1
-0@@ -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 {
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>Signed-off-by Jaswinder Singh Rajput <[email protected]>--- include/linux/auto_fs.h | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)include/linux/auto_fs.h +1
-2@@ -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__ */
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>Signed-off-by Jaswinder Singh Rajput <[email protected]>---
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
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
Signed-off-by Jaswinder Singh Rajput <[email protected]>---
I prepared headers-check tree and applied these patches on :
git://git.kernel.org/pub/scm/linux/kernel/git/jaswinder/headers-check-2.6.gitI 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