10 years agomake most exported headers use strict integer types
Arnd Bergmann [Wed, 25 Feb 2009 23:51:40 +0000]
make most exported headers use strict integer types

This takes care of all files that have only a small number
of non-strict integer type uses.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Cc: netdev@vger.kernel.org
Cc: linux-ppp@vger.kernel.org
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

10 years agomake exported headers use strict posix types
Arnd Bergmann [Wed, 25 Feb 2009 23:51:39 +0000]
make exported headers use strict posix types

A number of standard posix types are used in exported headers, which
is not allowed if __STRICT_KERNEL_NAMES is defined. In order to
get rid of the non-__STRICT_KERNEL_NAMES part and to make sane headers
the default, we have to change them all to safe types.

There are also still some leftovers in reiserfs_fs.h, elfcore.h
and coda.h, but these files have not compiled in user space for
a long time.

This leaves out the various integer types ({u_,u,}int{8,16,32,64}_t),
which we take care of separately.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Cc: netdev@vger.kernel.org
Cc: linux-ppp@vger.kernel.org
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

10 years agounconditionally include asm/types.h from linux/types.h
Jaswinder Singh Rajput [Sun, 8 Feb 2009 05:30:25 +0000]
unconditionally include asm/types.h from linux/types.h

Reported-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

10 years agoMerge branch 'core/header-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git...
Ingo Molnar [Fri, 6 Feb 2009 15:46:30 +0000]
Merge branch 'core/header-fixes' of git://git./linux/kernel/git/jaswinder/linux-2.6-tip into core/header-fixes

10 years agomake linux/types.h as assembly safe
Jaswinder Singh Rajput [Fri, 6 Feb 2009 15:17:58 +0000]
make linux/types.h as assembly safe

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoNeither asm/types.h nor linux/types.h is required for arch/ia64/include/asm/fpu.h
Jaswinder Singh Rajput [Fri, 6 Feb 2009 15:16:06 +0000]
Neither asm/types.h nor linux/types.h is required for arch/ia64/include/asm/fpu.h

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoMerge branch 'core/header-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git...
Ingo Molnar [Tue, 3 Feb 2009 15:13:37 +0000]
Merge branch 'core/header-fixes' of git://git./linux/kernel/git/jaswinder/linux-2.6-tip into core/header-fixes

10 years agoheaders_check fix cleanup: linux/reiserfs_fs.h
Jaswinder Singh Rajput [Tue, 3 Feb 2009 14:10:03 +0000]
headers_check fix cleanup: linux/reiserfs_fs.h

Only REISERFS_IOC_* definitions are required for user space
rest should be in #ifdef __KERNEL__ as pointed by Arnd Bergmann.

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix cleanup: linux/nubus.h
Jaswinder Singh Rajput [Tue, 3 Feb 2009 13:58:24 +0000]
headers_check fix cleanup: linux/nubus.h

These are only for kernel internals as pointed by Arnd Bergmann:
   struct nubus_board
   struct nubus_dev

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix cleanup: linux/coda_psdev.h
Jaswinder Singh Rajput [Tue, 3 Feb 2009 13:51:38 +0000]
headers_check fix cleanup: linux/coda_psdev.h

These are only for kernel internals as pointed by Arnd Bergmann:
  struct kstatfs
  struct venus_comm
  coda_vcp()

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoMerge branch 'core/header-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git...
Ingo Molnar [Tue, 3 Feb 2009 12:55:06 +0000]
Merge branch 'core/header-fixes' of git://git./linux/kernel/git/jaswinder/linux-2.6-tipclean into core/header-fixes

10 years agoheaders_check fix: x86, setup.h
Jaswinder Singh Rajput [Mon, 2 Feb 2009 16:29:19 +0000]
headers_check fix: x86, setup.h

fix the following 'make headers_check' warning:

  usr/include/asm/setup.h:16: extern's make no sense in userspace
  usr/include/asm/setup.h:17: extern's make no sense in userspace
  usr/include/asm/setup.h:23: extern's make no sense in userspace
  usr/include/asm/setup.h:24: extern's make no sense in userspace
  usr/include/asm/setup.h:51: extern's make no sense in userspace
  usr/include/asm/setup.h:52: extern's make no sense in userspace

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: x86, prctl.h
Jaswinder Singh Rajput [Mon, 2 Feb 2009 16:18:33 +0000]
headers_check fix: x86, prctl.h

fix the following 'make headers_check' warning:

  usr/include/asm/prctl.h:10: extern's make no sense in userspace

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/reinserfs_fs.h
Jaswinder Singh Rajput [Mon, 2 Feb 2009 16:15:41 +0000]
headers_check fix: linux/reinserfs_fs.h

fix the following 'make headers_check' warnings:

  usr/include/linux/reiserfs_fs.h:687: extern's make no sense in userspace
  usr/include/linux/reiserfs_fs.h:995: extern's make no sense in userspace
  usr/include/linux/reiserfs_fs.h:997: extern's make no sense in userspace
  usr/include/linux/reiserfs_fs.h:1467: extern's make no sense in userspace
  usr/include/linux/reiserfs_fs.h:1760: extern's make no sense in userspace
  usr/include/linux/reiserfs_fs.h:1764: extern's make no sense in userspace
  usr/include/linux/reiserfs_fs.h:1766: extern's make no sense in userspace
  usr/include/linux/reiserfs_fs.h:1769: extern's make no sense in userspace
  usr/include/linux/reiserfs_fs.h:1771: extern's make no sense in userspace
  usr/include/linux/reiserfs_fs.h:1805: extern's make no sense in userspace
  usr/include/linux/reiserfs_fs.h:1948: extern's make no sense in userspace
  usr/include/linux/reiserfs_fs.h:1949: extern's make no sense in userspace
  usr/include/linux/reiserfs_fs.h:1950: extern's make no sense in userspace
  usr/include/linux/reiserfs_fs.h:1951: extern's make no sense in userspace
  usr/include/linux/reiserfs_fs.h:1962: extern's make no sense in userspace
  usr/include/linux/reiserfs_fs.h:1963: extern's make no sense in userspace
  usr/include/linux/reiserfs_fs.h:1964: extern's make no sense in userspace

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/socket.h
Jaswinder Singh Rajput [Mon, 2 Feb 2009 16:14:09 +0000]
headers_check fix: linux/socket.h

fix the following 'make headers_check' warning:

  usr/include/linux/socket.h:29: extern's make no sense in userspace

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/nubus.h
Jaswinder Singh Rajput [Mon, 2 Feb 2009 16:11:41 +0000]
headers_check fix: linux/nubus.h

fix the following 'make headers_check' warnings:

  usr/include/linux/nubus.h:297: extern's make no sense in userspace
  usr/include/linux/nubus.h:299: extern's make no sense in userspace
  usr/include/linux/nubus.h:303: extern's make no sense in userspace

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/in6.h
Jaswinder Singh Rajput [Mon, 2 Feb 2009 16:10:58 +0000]
headers_check fix: linux/in6.h

fix the following 'make headers_check' warnings:

  usr/include/linux/in6.h:47: extern's make no sense in userspace
  usr/include/linux/in6.h:49: extern's make no sense in userspace

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/coda_psdev.h
Jaswinder Singh Rajput [Mon, 2 Feb 2009 16:10:10 +0000]
headers_check fix: linux/coda_psdev.h

fix the following 'make headers_check' warning:

  usr/include/linux/coda_psdev.h:90: extern's make no sense in userspace

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: xtensa, swab.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 06:32:14 +0000]
headers_check fix: xtensa, swab.h

fix the following 'make headers_check' warnings:

  usr/include/asm-xtensa/swab.h:14: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm-xtensa/swab.h:19: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: powerpc, swab.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 06:24:05 +0000]
headers_check fix: powerpc, swab.h

fix the following 'make headers_check' warning:

  usr/include/asm-powerpc/swab.h:11: include of <linux/types.h> is preferred over <asm/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: powerpc, spu_info.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 06:22:05 +0000]
headers_check fix: powerpc, spu_info.h

fix the following 'make headers_check' warning:

  usr/include/asm-powerpc/spu_info.h:27: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: powerpc, ps3fb.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 06:16:23 +0000]
headers_check fix: powerpc, ps3fb.h

fix the following 'make headers_check' warning:

  usr/include/asm-powerpc/ps3fb.h:33: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: powerpc, kvm.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 06:14:45 +0000]
headers_check fix: powerpc, kvm.h

fix the following 'make headers_check' warnings:

  usr/include/asm-powerpc/kvm.h:23: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm-powerpc/kvm.h:26: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: powerpc, elf.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 06:12:29 +0000]
headers_check fix: powerpc, elf.h

fix the following 'make headers_check' warning:

  usr/include/asm-powerpc/elf.h:5: include of <linux/types.h> is preferred over <asm/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: powerpc, bootx.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 06:11:04 +0000]
headers_check fix: powerpc, bootx.h

fix the following 'make headers_check' warnings:

  usr/include/asm-powerpc/bootx.h:12: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm-powerpc/bootx.h:57: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: parisc, swab.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 06:09:01 +0000]
headers_check fix: parisc, swab.h

fix the following 'make headers_check' warnings:

  usr/include/asm-parisc/swab.h:4: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm-parisc/swab.h:9: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: parisc, pdc.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 06:06:07 +0000]
headers_check fix: parisc, pdc.h

fix the following 'make headers_check' warning:

  usr/include/asm-parisc/pdc.h:420: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: mn10300, swab.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 05:59:28 +0000]
headers_check fix: mn10300, swab.h

fix the following 'make headers_check' warnings:

  usr/include/asm-mn10300/swab.h:14: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm-mn10300/swab.h:19: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: mips, swab.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 05:53:37 +0000]
headers_check fix: mips, swab.h

fix the following 'make headers_check' warnings:

  usr/include/asm-mips/swab.h:12: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm-mips/swab.h:18: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: mips, sigcontext.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 05:52:18 +0000]
headers_check fix: mips, sigcontext.h

fix the following 'make headers_check' warning:

  usr/include/asm-mips/sigcontext.h:57: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: m32r, swab.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 05:48:19 +0000]
headers_check fix: m32r, swab.h

fix the following 'make headers_check' warning:

  usr/include/asm-m32r/swab.h:4: include of <linux/types.h> is preferred over <asm/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: ia64, swab.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 05:42:29 +0000]
headers_check fix: ia64, swab.h

fix the following 'make headers_check' warnings:

  usr/include/asm-ia64/swab.h:9: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm-ia64/swab.h:13: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: ia64, kvm.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 05:40:22 +0000]
headers_check fix: ia64, kvm.h

fix the following 'make headers_check' warnings:

  usr/include/asm-ia64/kvm.h:24: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm-ia64/kvm.h:34: found __[us]{8,16,32,64} type without #include <linux/types.h

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: ia64, intrinsics.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 05:37:06 +0000]
headers_check fix: ia64, intrinsics.h

fix the following 'make headers_check' warning:

  usr/include/asm-ia64/intrinsics.h:57: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: ia64, gcc_intrin.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 05:33:28 +0000]
headers_check fix: ia64, gcc_intrin.h

fix the following 'make headers_check' warning:

  usr/include/asm-ia64/gcc_intrin.h:63: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: ia64, fpu.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 05:29:12 +0000]
headers_check fix: ia64, fpu.h

fix the following 'make headers_check' warning:

  usr/include/asm-ia64/fpu.h:9: include of <linux/types.h> is preferred over <asm/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: h8300, swab.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 05:25:12 +0000]
headers_check fix: h8300, swab.h

fix the following 'make headers_check' warning:

  usr/include/asm-h8300/swab.h:4: include of <linux/types.h> is preferred over <asm/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: frv, swab.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 05:23:32 +0000]
headers_check fix: frv, swab.h

fix the following 'make headers_check' warning:

  usr/include/asm-frv/swab.h:4: include of <linux/types.h> is preferred over <asm/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: blackfin, swab.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 05:18:44 +0000]
headers_check fix: blackfin, swab.h

fix the following 'make headers_check' warnings:

  usr/include/asm-blackfin/swab.h:4: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm-blackfin/swab.h:13: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: avr32, swab.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 05:16:26 +0000]
headers_check fix: avr32, swab.h

fix the following 'make headers_check' warnings:

  usr/include/asm-avr32/swab.h:7: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm-avr32/swab.h:22: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: arm, swab.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 05:13:44 +0000]
headers_check fix: arm, swab.h

fix the following 'make headers_check' warnings:

  usr/include/asm-arm/swab.h:19: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm-arm/swab.h:25: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: arm, setup.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 05:11:59 +0000]
headers_check fix: arm, setup.h

fix the following 'make headers_check' warnings:

  usr/include/asm-arm/setup.h:17: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm-arm/setup.h:25: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: arm, a.out.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 05:08:16 +0000]
headers_check fix: arm, a.out.h

fix the following 'make headers_check' warnings:

  usr/include/asm-arm/a.out.h:5: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm-arm/a.out.h:9: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: alpha, swab.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 05:06:04 +0000]
headers_check fix: alpha, swab.h

fix the following 'make headers_check' warnings:

  usr/include/asm-alpha/swab.h:4: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm-alpha/swab.h:10: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: alpha, statfs.h
Jaswinder Singh Rajput [Sat, 31 Jan 2009 05:04:04 +0000]
headers_check fix: alpha, statfs.h

fix the following 'make headers_check' warning:

  usr/include/asm-alpha/statfs.h:6: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agokbuild: drop check for CONFIG_ in headers_check
Sam Ravnborg [Fri, 30 Jan 2009 22:56:42 +0000]
kbuild: drop check for CONFIG_ in headers_check

The check for references to CONFIG_ symbols in exported headers turned
out to be too agressive with the current state of affairs.
After the work of Jaswinder to clean up all relevant cases we are down
to almost pure noise.

So lets drop the check for now - we can always add it back later
should our headers be ready for that.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

10 years agoheaders_check fix: x86, swab.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:27:38 +0000]
headers_check fix: x86, swab.h

fix the following 'make headers_check' warnings:

  usr/include/asm/swab.h:4: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm/swab.h:7: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: x86, sigcontext32.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:25:20 +0000]
headers_check fix: x86, sigcontext32.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: x86, sigcontext.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:23:49 +0000]
headers_check fix: x86, sigcontext.h

fix the following 'make headers_check' warnings:

  usr/include/asm/sigcontext.h:5: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm/sigcontext.h:24: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: x86, ptrace-abi.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:22:16 +0000]
headers_check fix: x86, ptrace-abi.h

fix the following 'make headers_check' warnings:

  usr/include/asm/ptrace-abi.h:86: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm/ptrace-abi.h:93: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: x86, mtrr.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:18:17 +0000]
headers_check fix: x86, mtrr.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: x86, mce.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:17:27 +0000]
headers_check fix: x86, mce.h

fix the following 'make headers_check' warnings:

  usr/include/asm/mce.h:7: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm/mce.h:29: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: x86, kvm.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:16:08 +0000]
headers_check fix: x86, kvm.h

fix the following 'make headers_check' warnings:

  usr/include/asm/kvm.h:9: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm/kvm.h:16: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: x86, e820.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:14:58 +0000]
headers_check fix: x86, e820.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/rtnetlink.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:10:32 +0000]
headers_check fix: linux/rtnetlink.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/nubus.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:09:17 +0000]
headers_check fix: linux/nubus.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: video/uvesafb.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:05:17 +0000]
headers_check fix: video/uvesafb.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: video/sisfb.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:04:29 +0000]
headers_check fix: video/sisfb.h

fix the following 'make headers_check' warnings:

  usr/include/video/sisfb.h:25: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/video/sisfb.h:78: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: sound/hdsp.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:03:29 +0000]
headers_check fix: sound/hdsp.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: mtd/inftl-user.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:02:35 +0000]
headers_check fix: mtd/inftl-user.h

fix the following 'make headers_check' warning:

  usr/include/mtd/inftl-user.h:61: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/virtio_net.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:01:05 +0000]
headers_check fix: linux/virtio_net.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/virtio_console.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:59:33 +0000]
headers_check fix: linux/virtio_console.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/virtio_blk.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:57:58 +0000]
headers_check fix: linux/virtio_blk.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/videodev.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:56:01 +0000]
headers_check fix: linux/videodev.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/video_encoder.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:54:09 +0000]
headers_check fix: linux/video_encoder.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/video_decoder.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:52:51 +0000]
headers_check fix: linux/video_decoder.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/taskstats.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:51:19 +0000]
headers_check fix: linux/taskstats.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/synclink.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:50:04 +0000]
headers_check fix: linux/synclink.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/sound.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:47:53 +0000]
headers_check fix: linux/sound.h

fix the following 'make headers_check' warnings:

  usr/include/linux/sound.h:33: extern's make no sense in userspace
  usr/include/linux/sound.h:34: extern's make no sense in userspace
  usr/include/linux/sound.h:35: extern's make no sense in userspace
  usr/include/linux/sound.h:36: extern's make no sense in userspace
  usr/include/linux/sound.h:37: extern's make no sense in userspace
  usr/include/linux/sound.h:39: extern's make no sense in userspace
  usr/include/linux/sound.h:40: extern's make no sense in userspace
  usr/include/linux/sound.h:41: extern's make no sense in userspace
  usr/include/linux/sound.h:42: extern's make no sense in userspace

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/signalfd.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:44:02 +0000]
headers_check fix: linux/signalfd.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/random.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:41:32 +0000]
headers_check fix: linux/random.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/ppp_defs.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:39:17 +0000]
headers_check fix: linux/ppp_defs.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/pkt_sched.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:37:05 +0000]
headers_check fix: linux/pkt_sched.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/pkt_cls.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:35:32 +0000]
headers_check fix: linux/pkt_cls.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/phonet.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:33:25 +0000]
headers_check fix: linux/phonet.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/nfs_idmap.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:29:48 +0000]
headers_check fix: linux/nfs_idmap.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/neighbour.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:28:19 +0000]
headers_check fix: linux/neighbour.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/msdos_fs.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:26:32 +0000]
headers_check fix: linux/msdos_fs.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/minix_fs.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:24:23 +0000]
headers_check fix: linux/minix_fs.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/irda.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:20:39 +0000]
headers_check fix: linux/irda.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/ipx.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:19:07 +0000]
headers_check fix: linux/ipx.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/ipv6_route.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:17:52 +0000]
headers_check fix: linux/ipv6_route.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/ipv6.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:16:43 +0000]
headers_check fix: linux/ipv6.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/ip6_tunnel.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:14:19 +0000]
headers_check fix: linux/ip6_tunnel.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/inet_diag.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:12:47 +0000]
headers_check fix: linux/inet_diag.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/igmp.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:06:04 +0000]
headers_check fix: linux/igmp.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/if_tr.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:04:36 +0000]
headers_check fix: linux/if_tr.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/if_strip.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:02:52 +0000]
headers_check fix: linux/if_strip.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/if_ppp.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:01:29 +0000]
headers_check fix: linux/if_ppp.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/if_link.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:59:20 +0000]
headers_check fix: linux/if_link.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/if_hippi.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:57:59 +0000]
headers_check fix: linux/if_hippi.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/if_fc.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:56:35 +0000]
headers_check fix: linux/if_fc.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/if_addrlabel.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:55:00 +0000]
headers_check fix: linux/if_addrlabel.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/if_addr.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:51:01 +0000]
headers_check fix: linux/if_addr.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/icmpv6.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:48:37 +0000]
headers_check fix: linux/icmpv6.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/hiddev.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:47:06 +0000]
headers_check fix: linux/hiddev.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/hid.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:45:34 +0000]
headers_check fix: linux/hid.h

fix the following 'make headers_check' warnings:

  usr/include/linux/hid.h:69: extern's make no sense in userspace
  usr/include/linux/hid.h:76: extern's make no sense in userspace

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/gfs2_ondisk.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:42:38 +0000]
headers_check fix: linux/gfs2_ondisk.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/genetlink.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:40:52 +0000]
headers_check fix: linux/genetlink.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>

10 years agoheaders_check fix: linux/errqueue.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:39:18 +0000]
headers_check fix: linux/errqueue.h

fix the following 'make headers_check' warning:

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>