Messages in this thread | | | Subject | Confusion in usr/include/asm-generic/fcntl.h | From | Jaswinder Singh Rajput <> | Date | Wed, 21 Jan 2009 05:34:17 +0530 |
| |
usr/include/asm-generic/fcntl.h is giving 2 'make headers_check' warnings: usr/include/asm-generic/fcntl.h:127: leaks CONFIG_64BIT to userspace where it is not valid usr/include/asm-generic/fcntl.h:149: leaks CONFIG_64BIT to userspace where it is not valid
usr/include/asm-generic/fcntl.h: -- #ifndef CONFIG_64BIT
#ifndef F_GETLK64 #define F_GETLK64 12 /* using 'struct flock64' */ #define F_SETLK64 13 #define F_SETLKW64 14 #endif
#ifndef HAVE_ARCH_STRUCT_FLOCK64 #ifndef __ARCH_FLOCK64_PAD #define __ARCH_FLOCK64_PAD #endif
struct flock64 { short l_type; short l_whence; loff_t l_start; loff_t l_len; pid_t l_pid; __ARCH_FLOCK64_PAD }; #endif #endif /* !CONFIG_64BIT */ --
#ifndef CONFIG_64BIT will always be true for userspace. So what is the use of #ifndef CONFIG_64BIT ?
Thanks, -- JSR
| |