headers_check fixes
Subsystems (27)
filtered out CONFIG_* changes, based on Linus tree.
Please pull:
The following changes since commit f2257b70b0f9b2fe8f2afd83fc6798dca75930b8:
Linus Torvalds (1):
Merge git://git.kernel.org/.../sfrench/cifs-2.6
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jaswinder/linux-2.6.git master
Jaswinder Singh Rajput (90):
headers_check fix: can/bcm.h
headers_check fix: dvb/audio.h
headers_check fix: dvb/dmx.h
headers_check fix: dvb/frontend.h
headers_check fix: dvb/net.h
headers_check fix: dvb/video.h
headers_check fix: netfilter/xt_conntrack.h
headers_check fix: nfsd/export.h
headers_check fix: nfsd/nfsfh.h
headers_check fix: nfsd/syscall.h
headers_check fix: raid/md_p.h
headers_check fix: spi/spidev.h
headers_check fix: tc_act/tc_gact.h
headers_check fix: tc_act/tc_mirred.h
headers_check fix: tc_act/tc_pedit.h
headers_check fix: tc_ematch/tc_em_cmp.h
headers_check fix: tc_ematch/tc_em_meta.h
headers_check fix: tc_ematch/tc_em_nbyte.h
headers_check fix: tc_ematch/tc_em_text.h
headers_check fix: usb/cdc.h
headers_check fix: usb/gadgetfs.h
headers_check fix: linux/aio_abi.h
headers_check fix: linux/atalk.h
headers_check fix: linux/atmbr2684.h
headers_check fix: linux/auto_fs4.h
headers_check fix: linux/bfs_fs.h
headers_check fix: linux/blktrace_api.h
headers_check fix: linux/capability.h
headers_check fix: linux/cdrom.h
headers_check fix: linux/cgroupstats.h
headers_check fix: linux/dlm_plock.h
headers_check fix: linux/dn.h
headers_check fix: linux/edd.h
headers_check fix: linux/efs_fs_sb.h
headers_check fix: linux/elf-fdpic.h
headers_check fix: linux/elf.h
headers_check fix: linux/errqueue.h
headers_check fix: linux/genetlink.h
headers_check fix: linux/gfs2_ondisk.h
headers_check fix: linux/hid.h
headers_check fix: linux/hiddev.h
headers_check fix: linux/icmpv6.h
headers_check fix: linux/if_addr.h
headers_check fix: linux/if_addrlabel.h
headers_check fix: linux/if_fc.h
headers_check fix: linux/if_hippi.h
headers_check fix: linux/if_link.h
headers_check fix: linux/if_ppp.h
headers_check fix: linux/if_strip.h
headers_check fix: linux/if_tr.h
headers_check fix: linux/igmp.h
headers_check fix: linux/inet_diag.h
headers_check fix: linux/ip6_tunnel.h
headers_check fix: linux/ipv6.h
headers_check fix: linux/ipv6_route.h
headers_check fix: linux/ipx.h
headers_check fix: linux/irda.h
headers_check fix: linux/minix_fs.h
headers_check fix: linux/msdos_fs.h
headers_check fix: linux/neighbour.h
headers_check fix: linux/nfs_idmap.h
headers_check fix: linux/phonet.h
headers_check fix: linux/pkt_cls.h
headers_check fix: linux/pkt_sched.h
headers_check fix: linux/ppp_defs.h
headers_check fix: linux/random.h
headers_check fix: linux/signalfd.h
headers_check fix: linux/sound.h
headers_check fix: linux/synclink.h
headers_check fix: linux/taskstats.h
headers_check fix: linux/video_decoder.h
headers_check fix: linux/video_encoder.h
headers_check fix: linux/videodev.h
headers_check fix: linux/virtio_blk.h
headers_check fix: linux/virtio_console.h
headers_check fix: linux/virtio_net.h
headers_check fix: mtd/inftl-user.h
headers_check fix: sound/hdsp.h
headers_check fix: video/sisfb.h
headers_check fix: video/uvesafb.h
headers_check fix: linux/nubus.h
headers_check fix: linux/rtnetlink.h
headers_check fix: x86, e820.h
headers_check fix: x86, kvm.h
headers_check fix: x86, mce.h
headers_check fix: x86, mtrr.h
headers_check fix: x86, ptrace-abi.h
headers_check fix: x86, sigcontext.h
headers_check fix: x86, sigcontext32.h
headers_check fix: x86, swab.h
arch/x86/include/asm/e820.h | 1 + arch/x86/include/asm/kvm.h | 2 +- arch/x86/include/asm/mce.h | 5 +---- arch/x86/include/asm/mtrr.h | 1 + arch/x86/include/asm/ptrace-abi.h | 2 +- arch/x86/include/asm/sigcontext.h | 2 +- arch/x86/include/asm/sigcontext32.h | 2 ++ arch/x86/include/asm/swab.h | 2 +- include/linux/aio_abi.h | 1 + include/linux/atalk.h | 1 + include/linux/atmbr2684.h | 1 + include/linux/auto_fs4.h | 1 + include/linux/bfs_fs.h | 3 ++- include/linux/blktrace_api.h | 1 + include/linux/can/bcm.h | 2 ++ include/linux/capability.h | 8 ++++---- include/linux/cdrom.h | 1 + include/linux/cgroupstats.h | 1 + include/linux/dlm_plock.h | 2 ++ include/linux/dn.h | 2 ++ include/linux/dvb/audio.h | 5 ----- include/linux/dvb/dmx.h | 2 +- include/linux/dvb/frontend.h | 3 +-- include/linux/dvb/net.h | 3 +-- include/linux/dvb/video.h | 7 ++----- include/linux/edd.h | 2 ++ include/linux/efs_fs_sb.h | 1 + include/linux/elf-fdpic.h | 2 ++ include/linux/elf.h | 3 ++- include/linux/errqueue.h | 2 ++ include/linux/genetlink.h | 1 + include/linux/gfs2_ondisk.h | 2 ++ include/linux/hid.h | 2 ++ include/linux/hiddev.h | 2 ++ include/linux/icmpv6.h | 1 + include/linux/if_addr.h | 1 + include/linux/if_addrlabel.h | 2 ++ include/linux/if_fc.h | 1 + include/linux/if_hippi.h | 1 + include/linux/if_link.h | 1 + include/linux/if_ppp.h | 1 + include/linux/if_strip.h | 2 ++ include/linux/if_tr.h | 1 + include/linux/igmp.h | 1 + include/linux/inet_diag.h | 2 ++ include/linux/ip6_tunnel.h | 2 ++ include/linux/ipv6.h | 1 + include/linux/ipv6_route.h | 2 ++ include/linux/ipx.h | 1 + include/linux/irda.h | 2 ++ include/linux/minix_fs.h | 1 + include/linux/msdos_fs.h | 1 + include/linux/neighbour.h | 1 + include/linux/netfilter/xt_conntrack.h | 1 + include/linux/nfs_idmap.h | 2 ++ include/linux/nfsd/export.h | 3 +-- include/linux/nfsd/nfsfh.h | 3 +-- include/linux/nfsd/syscall.h | 3 +-- include/linux/nubus.h | 1 + include/linux/phonet.h | 2 ++ include/linux/pkt_cls.h | 1 + include/linux/pkt_sched.h | 2 ++ include/linux/ppp_defs.h | 2 ++ include/linux/raid/md_p.h | 2 ++ include/linux/random.h | 1 + include/linux/rtnetlink.h | 1 + include/linux/signalfd.h | 1 + include/linux/sound.h | 2 ++ include/linux/spi/spidev.h | 1 + include/linux/synclink.h | 2 ++ include/linux/taskstats.h | 2 ++ include/linux/tc_act/tc_gact.h | 1 + include/linux/tc_act/tc_mirred.h | 1 + include/linux/tc_act/tc_pedit.h | 1 + include/linux/tc_ematch/tc_em_cmp.h | 1 + include/linux/tc_ematch/tc_em_meta.h | 1 + include/linux/tc_ematch/tc_em_nbyte.h | 1 + include/linux/tc_ematch/tc_em_text.h | 1 + include/linux/usb/cdc.h | 2 ++ include/linux/usb/gadgetfs.h | 2 +- include/linux/video_decoder.h | 2 ++ include/linux/video_encoder.h | 2 ++ include/linux/videodev.h | 1 + include/linux/virtio_blk.h | 1 + include/linux/virtio_console.h | 1 + include/linux/virtio_net.h | 1 + include/mtd/inftl-user.h | 2 ++ include/sound/hdsp.h | 2 ++ include/video/sisfb.h | 2 +- include/video/uvesafb.h | 2 ++ 90 files changed, 125 insertions(+), 37 deletions(-)
Fixed 114 headers_check warnings:/home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/can/bcm.h:29: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/dvb/audio.h:133: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/dvb/dmx.h:27: include of <linux/types.h> is preferred over <asm/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/dvb/dmx.h:90: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/dvb/frontend.h:29: include of <linux/types.h> is preferred over <asm/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/dvb/frontend.h:76: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/dvb/net.h:27: include of <linux/types.h> is preferred over <asm/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/dvb/net.h:31: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/dvb/video.h:29: include of <linux/types.h> is preferred over <asm/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/dvb/video.h:102: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/netfilter/xt_conntrack.h:40: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/nfsd/export.h:13: include of <linux/types.h> is preferred over <asm/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/nfsd/nfsfh.h:17: include of <linux/types.h> is preferred over <asm/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/nfsd/nfsfh.h:28: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/nfsd/syscall.h:12: include of <linux/types.h> is preferred over <asm/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/nfsd/syscall.h:104: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/raid/md_p.h:85: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/spi/spidev.h:83: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/tc_act/tc_gact.h:19: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/tc_act/tc_mirred.h:16: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/tc_act/tc_pedit.h:19: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/tc_ematch/tc_em_cmp.h:8: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/tc_ematch/tc_em_meta.h:18: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/tc_ematch/tc_em_nbyte.h:8: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/tc_ematch/tc_em_text.h:11: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/usb/cdc.h:50: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/usb/gadgetfs.h:21: include of <linux/types.h> is preferred over <asm/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/aio_abi.h:58: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/atalk.h:15: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/atmbr2684.h:88: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/auto_fs4.h:132: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/bfs_fs.h:24: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/blktrace_api.h:96: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/capability.h:73: extern's make no sense in userspace /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/cdrom.h:155: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/cgroupstats.h:31: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/dlm_plock.h:25: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/dn.h:75: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/edd.h:70: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/efs_fs_sb.h:49: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/elf-fdpic.h:62: extern's make no sense in userspace /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/elf.h:379: extern's make no sense in userspace /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/elf.h:387: extern's make no sense in userspace /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/elf.h:401: extern's make no sense in userspace /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/elf.h:402: extern's make no sense in userspace /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/errqueue.h:6: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/genetlink.h:12: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/gfs2_ondisk.h:109: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/hid.h:69: extern's make no sense in userspace /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/hid.h:76: extern's make no sense in userspace /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/hiddev.h:40: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/icmpv6.h:8: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/if_addr.h:8: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/if_addrlabel.h:15: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/if_fc.h:37: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/if_hippi.h:82: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/if_link.h:9: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/if_ppp.h:96: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/if_strip.h:22: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/if_tr.h:37: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/igmp.h:31: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/inet_diag.h:16: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/ip6_tunnel.h:21: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/ipv6.h:26: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/ipv6_route.h:42: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/ipx.h:13: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/irda.h:127: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/minix_fs.h:34: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/msdos_fs.h:100: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/neighbour.h:8: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/nfs_idmap.h:55: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/nubus.h:232: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/phonet.h:50: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/pkt_cls.h:122: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/pkt_sched.h:32: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/ppp_defs.h:50: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/random.h:39: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/rtnetlink.h:328: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/signalfd.h:19: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/sound.h:33: extern's make no sense in userspace /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/sound.h:34: extern's make no sense in userspace /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/sound.h:35: extern's make no sense in userspace /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/sound.h:36: extern's make no sense in userspace /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/sound.h:37: extern's make no sense in userspace /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/sound.h:39: extern's make no sense in userspace /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/sound.h:40: extern's make no sense in userspace /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/sound.h:41: extern's make no sense in userspace /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/sound.h:42: extern's make no sense in userspace /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/synclink.h:209: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/taskstats.h:44: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/video_decoder.h:7: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/video_encoder.h:5: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/videodev.h:53: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/virtio_blk.h:21: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/virtio_console.h:15: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/linux/virtio_net.h:28: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/mtd/inftl-user.h:61: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/sound/hdsp.h:33: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/video/sisfb.h:25: include of <linux/types.h> is preferred over <asm/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/video/sisfb.h:78: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/video/uvesafb.h:5: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/asm/e820.h:44: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/asm/kvm.h:9: include of <linux/types.h> is preferred over <asm/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/asm/kvm.h:16: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/asm/mce.h:7: include of <linux/types.h> is preferred over <asm/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/asm/mce.h:29: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/asm/mtrr.h:61: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/asm/ptrace-abi.h:86: include of <linux/types.h> is preferred over <asm/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/asm/ptrace-abi.h:93: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/asm/sigcontext.h:5: include of <linux/types.h> is preferred over <asm/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/asm/sigcontext.h:24: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/asm/sigcontext32.h:20: found __[us]{8,16,32,64} type without #include <linux/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/asm/swab.h:4: include of <linux/types.h> is preferred over <asm/types.h> /home/jaswinder/jaswinder-git/linux-2.6/usr/include/asm/swab.h:7: found __[us]{8,16,32,64} type without #include <linux/types.h>
Complete diff:
arch/x86/include/asm/e820.h +1 -0
@@ -49,6 +49,7 @@#define E820_RESERVED_KERN 128 #ifndef __ASSEMBLY__ +#include <linux/types.h> struct e820entry { __u64 addr; /* start of memory segment */ __u64 size; /* size of memory segment */
arch/x86/include/asm/kvm.h +1 -1
@@ -6,7 +6,7 @@* */ -#include <asm/types.h> +#include <linux/types.h> #include <linux/ioctl.h> /* Architectural interrupt line count. */
arch/x86/include/asm/mce.h +1 -4
@@ -3,8 +3,8 @@#ifdef __x86_64__ +#include <linux/types.h> #include <asm/ioctls.h> -#include <asm/types.h> /* * Machine Check support for x86
@@ -115,8 +115,6 @@ extern int mce_notify_user(void);#endif /* !CONFIG_X86_32 */ - -#ifdef CONFIG_X86_MCE extern void mcheck_init (struct cpuinfo_x86 *c);#else
@@ -126,5 +124,4 @@ extern void stop_mce(void);extern void restart_mce (void );#endif /* __KERNEL__ */ -#endif /* _ASM_X86_MCE_H */
arch/x86/include/asm/mtrr.h +1 -0
@@ -23,6 +23,7 @@#ifndef _ASM_X86_MTRR_H#define _ASM_X86_MTRR_H +#include <linux/types.h> #include <linux/ioctl.h> #include <linux/errno.h>
arch/x86/include/asm/ptrace-abi.h +1 -1
@@ -83,7 +83,7 @@#ifdef CONFIG_X86_PTRACE_BTS #ifndef __ASSEMBLY__ -#include <asm/types.h> +#include <linux/types.h> /* configuration/status structure used in PTRACE_BTS_CONFIG and PTRACE_BTS_STATUS commands.
arch/x86/include/asm/sigcontext.h +1 -1
@@ -2,7 +2,7 @@#define _ASM_X86_SIGCONTEXT_H#include <linux/compiler.h> -#include <asm/types.h> +#include <linux/types.h> #define FP_XSTATE_MAGIC1 0x46505853U#define FP_XSTATE_MAGIC2 0x46505845U
arch/x86/include/asm/sigcontext32.h +2 -0
@@ -1,6 +1,8 @@#ifndef _ASM_X86_SIGCONTEXT32_H#define _ASM_X86_SIGCONTEXT32_H +#include <linux/types.h> +/* signal context for 32bit programs. */ #define X86_FXSR_MAGIC 0x0000
arch/x86/include/asm/swab.h +1 -1
@@ -1,7 +1,7 @@#ifndef _ASM_X86_SWAB_H#define _ASM_X86_SWAB_H -#include <asm/types.h> +#include <linux/types.h> #include <linux/compiler.h> static inline __attribute_const__ __u32 __arch_swab32(__u32 val)
include/linux/aio_abi.h +1 -0
@@ -27,6 +27,7 @@#ifndef __LINUX__AIO_ABI_H#define __LINUX__AIO_ABI_H +#include <linux/types.h> #include <asm/byteorder.h> typedef unsigned long aio_context_t ;
include/linux/atalk.h +1 -0
@@ -1,6 +1,7 @@#ifndef __LINUX_ATALK_H__#define __LINUX_ATALK_H__ +#include <linux/types.h> #include <asm/byteorder.h> /*
include/linux/atmbr2684.h +1 -0
@@ -1,6 +1,7 @@#ifndef _LINUX_ATMBR2684_H#define _LINUX_ATMBR2684_H +#include <linux/types.h> #include <linux/atm.h> #include <linux/if.h> /* For IFNAMSIZ */
include/linux/auto_fs4.h +1 -0
@@ -12,6 +12,7 @@#define _LINUX_AUTO_FS4_H/* Include common v3 definitions */ +#include <linux/types.h> #include <linux/auto_fs.h> /* autofs v4 definitions */
include/linux/bfs_fs.h +2 -1
@@ -6,6 +6,8 @@#ifndef _LINUX_BFS_FS_H#define _LINUX_BFS_FS_H +#include <linux/types.h> +#define BFS_BSIZE_BITS 9#define BFS_BSIZE (1<<BFS_BSIZE_BITS)
@@ -17,7 +19,6 @@#define BFS_VDIR 2L#define BFS_VREG 1L -/* BFS inode layout on disk */ struct bfs_inode {__le16 i_ino;
include/linux/blktrace_api.h +1 -0
@@ -1,6 +1,7 @@#ifndef BLKTRACE_H #define BLKTRACE_H +#include <linux/types.h> #ifdef __KERNEL__#include <linux/blkdev.h> #include <linux/relay.h>
include/linux/can/bcm.h +2 -0
@@ -14,6 +14,8 @@#ifndef CAN_BCM_H #define CAN_BCM_H +#include <linux/types.h> +/** * struct bcm_msg_head - head of messages to/from the broadcast manager * @opcode: opcode, see enum below.
include/linux/capability.h +4 -4
@@ -69,10 +69,6 @@ typedef struct __user_cap_data_struct {#define VFS_CAP_U32 VFS_CAP_U32_2#define VFS_CAP_REVISION VFS_CAP_REVISION_2 -#ifdef CONFIG_SECURITY_FILE_CAPABILITIES -extern int file_caps_enabled; -#endif -struct vfs_cap_data {__le32 magic_etc;/* Little endian */ struct {
@@ -96,6 +92,10 @@ struct vfs_cap_data {#define _KERNEL_CAPABILITY_VERSION _LINUX_CAPABILITY_VERSION_3#define _KERNEL_CAPABILITY_U32S _LINUX_CAPABILITY_U32S_3 +#ifdef CONFIG_SECURITY_FILE_CAPABILITIES +extern int file_caps_enabled; +#endif +typedef struct kernel_cap_struct {__u32 cap[_KERNEL_CAPABILITY_U32S]; }kernel_cap_t ;
include/linux/cdrom.h +1 -0
@@ -11,6 +11,7 @@#ifndef _LINUX_CDROM_H#define _LINUX_CDROM_H +#include <linux/types.h> #include <asm/byteorder.h> /*******************************************************
include/linux/cgroupstats.h +1 -0
@@ -15,6 +15,7 @@#ifndef _LINUX_CGROUPSTATS_H#define _LINUX_CGROUPSTATS_H +#include <linux/types.h> #include <linux/taskstats.h> /*
include/linux/dlm_plock.h +2 -0
@@ -9,6 +9,8 @@#ifndef __DLM_PLOCK_DOT_H__#define __DLM_PLOCK_DOT_H__ +#include <linux/types.h> +#define DLM_PLOCK_MISC_NAME "dlm_plock"#define DLM_PLOCK_VERSION_MAJOR 1
include/linux/dn.h +2 -0
@@ -1,6 +1,8 @@#ifndef _LINUX_DN_H#define _LINUX_DN_H +#include <linux/types.h> +/* DECnet Data Structures and Constants
include/linux/dvb/audio.h +0 -5
@@ -24,12 +24,7 @@ #ifndef _DVBAUDIO_H_ #define _DVBAUDIO_H_ -#ifdef __KERNEL__ #include <linux/types.h> -#else -#include <stdint.h> -#endif - typedef enum { AUDIO_SOURCE_DEMUX, /* Select the demux as the main source */
include/linux/dvb/dmx.h +1 -1
@@ -24,7 +24,7 @@#ifndef _DVBDMX_H_#define _DVBDMX_H_ -#include <asm/types.h> +#include <linux/types.h> #ifdef __KERNEL__#include <linux/time.h> #else
include/linux/dvb/frontend.h +1 -2
@@ -26,8 +26,7 @@ #ifndef _DVBFRONTEND_H_ #define _DVBFRONTEND_H_ -#include <asm/types.h> - +#include <linux/types.h> typedef enum fe_type { FE_QPSK,
include/linux/dvb/net.h +1 -2
@@ -24,8 +24,7 @@ #ifndef _DVBNET_H_ #define _DVBNET_H_ -#include <asm/types.h> - +#include <linux/types.h> struct dvb_net_if { __u16 pid;
include/linux/dvb/video.h +2 -5
@@ -24,17 +24,14 @@ #ifndef _DVBVIDEO_H_ #define _DVBVIDEO_H_ -#include <linux/compiler.h> - -#ifdef __KERNEL__ #include <linux/types.h> +#ifdef __KERNEL__ +#include <linux/compiler.h> #else -#include <asm/types.h> #include <stdint.h> #include <time.h> #endif - typedef enum { VIDEO_FORMAT_4_3, /* Select 4:3 format */ VIDEO_FORMAT_16_9, /* Select 16:9 format. */
include/linux/edd.h +2 -0
@@ -30,6 +30,8 @@#ifndef _LINUX_EDD_H#define _LINUX_EDD_H +#include <linux/types.h> +#define EDDNR 0x1e9/* addr of number of edd_info structs at EDDBUF in boot_params - treat this as 1 byte */ #define EDDBUF 0xd00/* addr of edd_info structs in boot_params */
include/linux/efs_fs_sb.h +1 -0
@@ -9,6 +9,7 @@#ifndef __EFS_FS_SB_H__#define __EFS_FS_SB_H__ +#include <linux/types.h> #include <linux/magic.h> /* EFS superblock magic numbers */
include/linux/elf-fdpic.h +2 -0
@@ -58,11 +58,13 @@ struct elf_fdpic_params {#define ELF_FDPIC_FLAG_PRESENT 0x80000000/* T if this object is present */ }; +#ifdef __KERNEL__#ifdef CONFIG_MMU extern void elf_fdpic_arch_lay_out_mm (struct elf_fdpic_params *exec_params,struct elf_fdpic_params *interp_params,unsigned long *start_stack,unsigned long *start_brk);#endif +#endif /* __KERNEL__ */ #endif /* _LINUX_ELF_FDPIC_H */
include/linux/elf.h +2 -1
@@ -377,6 +377,7 @@ typedef struct elf64_note {Elf64_Word n_type;/* Content type */ } Elf64_Nhdr; +#ifdef __KERNEL__#if ELF_CLASS ==ELFCLASS32 extern Elf32_Dyn _DYNAMIC [];
@@ -404,5 +405,5 @@ static inline int elf_coredump_extra_notes_write(struct file *file,extern int elf_coredump_extra_notes_size (void );extern int elf_coredump_extra_notes_write (struct file *file,loff_t *foffset);#endif - +#endif /* __KERNEL__ */ #endif /* _LINUX_ELF_H */
include/linux/errqueue.h +2 -0
@@ -1,6 +1,8 @@ #ifndef _LINUX_ERRQUEUE_H #define _LINUX_ERRQUEUE_H 1 +#include <linux/types.h> + struct sock_extended_err { __u32 ee_errno;
include/linux/genetlink.h +1 -0
@@ -1,6 +1,7 @@#ifndef __LINUX_GENERIC_NETLINK_H#define __LINUX_GENERIC_NETLINK_H +#include <linux/types.h> #include <linux/netlink.h> #define GENL_NAMSIZ 16/* length of family name */
include/linux/gfs2_ondisk.h +2 -0
@@ -10,6 +10,8 @@#ifndef __GFS2_ONDISK_DOT_H__#define __GFS2_ONDISK_DOT_H__ +#include <linux/types.h> +#define GFS2_MAGIC 0x01161970#define GFS2_BASIC_BLOCK 512#define GFS2_BASIC_BLOCK_SHIFT 9
include/linux/hid.h +2 -0
@@ -791,6 +791,7 @@ dbg_hid(const char *fmt, ...) __FILE__ , ## arg)#endif /* HID_FF */ +#ifdef __KERNEL__#ifdef CONFIG_HID_COMPAT #define HID_COMPAT_LOAD_DRIVER (name) \/* prototype to avoid sparse warning */ \
@@ -804,6 +805,7 @@ EXPORT_SYMBOL(hid_compat_##name) extern void hid_compat_##name(void); \ hid_compat_##name(); \ } while (0) +#endif /* __KERNEL__ */ #endif
include/linux/hiddev.h +2 -0
@@ -27,6 +27,8 @@* Vojtech Pavlik, Ucitelska 1576, Prague 8, 182 00 Czech Republic */ +#include <linux/types.h> +/* * The event structure itself */
include/linux/icmpv6.h +1 -0
@@ -1,6 +1,7 @@#ifndef _LINUX_ICMPV6_H#define _LINUX_ICMPV6_H +#include <linux/types.h> #include <asm/byteorder.h> struct icmp6hdr {
include/linux/if_addr.h +1 -0
@@ -1,6 +1,7 @@#ifndef __LINUX_IF_ADDR_H#define __LINUX_IF_ADDR_H +#include <linux/types.h> #include <linux/netlink.h> struct ifaddrmsg
include/linux/if_addrlabel.h +2 -0
@@ -10,6 +10,8 @@ #ifndef __LINUX_IF_ADDRLABEL_H #define __LINUX_IF_ADDRLABEL_H +#include <linux/types.h> + struct ifaddrlblmsg { __u8 ifal_family; /* Address family */
include/linux/if_fc.h +1 -0
@@ -20,6 +20,7 @@#ifndef _LINUX_IF_FC_H#define _LINUX_IF_FC_H +#include <linux/types.h> #define FC_ALEN 6/* Octets in one ethernet addr */ #define FC_HLEN (sizeof(struct fch_hdr)+sizeof(struct fcllc))
include/linux/if_hippi.h +1 -0
@@ -22,6 +22,7 @@#ifndef _LINUX_IF_HIPPI_H#define _LINUX_IF_HIPPI_H +#include <linux/types.h> #include <asm/byteorder.h> /*
include/linux/if_link.h +1 -0
@@ -1,6 +1,7 @@#ifndef _LINUX_IF_LINK_H#define _LINUX_IF_LINK_H +#include <linux/types.h> #include <linux/netlink.h> /* The struct should be in sync with struct net_device_stats */
include/linux/if_ppp.h +1 -0
@@ -33,6 +33,7 @@#ifndef _IF_PPP_H_#define _IF_PPP_H_ +#include <linux/types.h> #include <linux/compiler.h> /*
include/linux/if_strip.h +2 -0
@@ -18,6 +18,8 @@#ifndef __LINUX_STRIP_H#define __LINUX_STRIP_H +#include <linux/types.h> +typedef struct {__u8 c[6 ]; }MetricomAddress ;
include/linux/if_tr.h +1 -0
@@ -19,6 +19,7 @@#ifndef _LINUX_IF_TR_H#define _LINUX_IF_TR_H +#include <linux/types.h> #include <asm/byteorder.h> /* For __be16 */ /* IEEE 802.5 Token-Ring magic constants. The frame sizes omit the preamble
include/linux/igmp.h +1 -0
@@ -16,6 +16,7 @@#ifndef _LINUX_IGMP_H#define _LINUX_IGMP_H +#include <linux/types.h> #include <asm/byteorder.h> /*
include/linux/inet_diag.h +2 -0
@@ -1,6 +1,8 @@#ifndef _INET_DIAG_H_#define _INET_DIAG_H_ 1 +#include <linux/types.h> +/* Just some random number */ #define TCPDIAG_GETSOCK 18#define DCCPDIAG_GETSOCK 19
include/linux/ip6_tunnel.h +2 -0
@@ -1,6 +1,8 @@#ifndef _IP6_TUNNEL_H#define _IP6_TUNNEL_H +#include <linux/types.h> +#define IPV6_TLV_TNL_ENCAP_LIMIT 4#define IPV6_DEFAULT_TNL_ENCAP_LIMIT 4
include/linux/ipv6.h +1 -0
@@ -1,6 +1,7 @@#ifndef _IPV6_H#define _IPV6_H +#include <linux/types.h> #include <linux/in6.h> #include <asm/byteorder.h>
include/linux/ipv6_route.h +2 -0
@@ -13,6 +13,8 @@#ifndef _LINUX_IPV6_ROUTE_H#define _LINUX_IPV6_ROUTE_H +#include <linux/types.h> +#define RTF_DEFAULT 0x00010000/* default - learned via ND */ #define RTF_ALLONLINK 0x00020000/* (deprecated and will be removed) fallback, no routers on link */
include/linux/ipx.h +1 -0
@@ -1,5 +1,6 @@#ifndef _IPX_H_#define _IPX_H_ +#include <linux/types.h> #include <linux/sockios.h> #include <linux/socket.h> #define IPX_NODE_LEN 6
include/linux/irda.h +2 -0
@@ -25,6 +25,8 @@#ifndef KERNEL_IRDA_H #define KERNEL_IRDA_H +#include <linux/types.h> +/* Please do *not* add any #include in this file, this file is * included as-is in user space. * Please fix the calling file to properly included needed files before
include/linux/minix_fs.h +1 -0
@@ -1,6 +1,7 @@#ifndef _LINUX_MINIX_FS_H#define _LINUX_MINIX_FS_H +#include <linux/types.h> #include <linux/magic.h> /*
include/linux/msdos_fs.h +1 -0
@@ -1,6 +1,7 @@#ifndef _LINUX_MSDOS_FS_H#define _LINUX_MSDOS_FS_H +#include <linux/types.h> #include <linux/magic.h> #include <asm/byteorder.h>
include/linux/neighbour.h +1 -0
@@ -1,6 +1,7 @@#ifndef __LINUX_NEIGHBOUR_H#define __LINUX_NEIGHBOUR_H +#include <linux/types.h> #include <linux/netlink.h> struct ndmsg
include/linux/netfilter/xt_conntrack.h +1 -0
@@ -5,6 +5,7 @@#ifndef _XT_CONNTRACK_H#define _XT_CONNTRACK_H +#include <linux/types.h> #include <linux/netfilter/nf_conntrack_tuple_common.h> #define XT_CONNTRACK_STATE_BIT (ctinfo) (1 << ((ctinfo)%IP_CT_IS_REPLY+1))
include/linux/nfs_idmap.h +2 -0
@@ -37,6 +37,8 @@#ifndef NFS_IDMAP_H #define NFS_IDMAP_H +#include <linux/types.h> +/* XXX from bits/utmp.h */ #define IDMAP_NAMESZ 128
include/linux/nfsd/export.h +1 -2
@@ -10,9 +10,8 @@#ifndef NFSD_EXPORT_H #define NFSD_EXPORT_H -#include <asm/types.h> -#ifdef __KERNEL__# include <linux/types.h> +#ifdef __KERNEL__# include <linux/in.h> #endif
include/linux/nfsd/nfsfh.h +1 -2
@@ -14,9 +14,8 @@#ifndef _LINUX_NFSD_FH_H#define _LINUX_NFSD_FH_H -#include <asm/types.h> -#ifdef __KERNEL__# include <linux/types.h> +#ifdef __KERNEL__# include <linux/string.h> # include <linux/fs.h> #endif
include/linux/nfsd/syscall.h +1 -2
@@ -9,9 +9,8 @@#ifndef NFSD_SYSCALL_H #define NFSD_SYSCALL_H -#include <asm/types.h> -#ifdef __KERNEL__# include <linux/types.h> +#ifdef __KERNEL__# include <linux/in.h> #endif #include <linux/posix_types.h>
include/linux/nubus.h +1 -0
@@ -12,6 +12,7 @@#ifndef LINUX_NUBUS_H #define LINUX_NUBUS_H +#include <linux/types.h> #ifdef __KERNEL__#include <asm/nubus.h> #endif
include/linux/phonet.h +2 -0
@@ -23,6 +23,8 @@#ifndef LINUX_PHONET_H #define LINUX_PHONET_H +#include <linux/types.h> +/* Automatic protocol selection */ #define PN_PROTO_TRANSPORT 0/* Phonet datagram socket */
include/linux/pkt_cls.h +1 -0
@@ -1,6 +1,7 @@#ifndef __LINUX_PKT_CLS_H#define __LINUX_PKT_CLS_H +#include <linux/types.h> #include <linux/pkt_sched.h> /* I think i could have done better macros ; for now this is stolen from
include/linux/pkt_sched.h +2 -0
@@ -1,6 +1,8 @@#ifndef __LINUX_PKT_SCHED_H#define __LINUX_PKT_SCHED_H +#include <linux/types.h> +/* Logical priority bands not depending on specific packet scheduler. Every scheduler will map them to real traffic classes, if it has no more precise mechanism to classify packets.
include/linux/ppp_defs.h +2 -0
@@ -25,6 +25,8 @@* OR MODIFICATIONS. */ +#include <linux/types.h> +/* * ==FILEVERSION 20000114== *
include/linux/raid/md_p.h +2 -0
@@ -15,6 +15,8 @@#ifndef _MD_P_H#define _MD_P_H +#include <linux/types.h> +/* * RAID superblock. *
include/linux/random.h +1 -0
@@ -7,6 +7,7 @@#ifndef _LINUX_RANDOM_H#define _LINUX_RANDOM_H +#include <linux/types.h> #include <linux/ioctl.h> #include <linux/irqnr.h>
include/linux/rtnetlink.h +1 -0
@@ -1,6 +1,7 @@#ifndef __LINUX_RTNETLINK_H#define __LINUX_RTNETLINK_H +#include <linux/types.h> #include <linux/netlink.h> #include <linux/if_link.h> #include <linux/if_addr.h>
include/linux/signalfd.h +1 -0
@@ -8,6 +8,7 @@#ifndef _LINUX_SIGNALFD_H#define _LINUX_SIGNALFD_H +#include <linux/types.h> /* For O_CLOEXEC and O_NONBLOCK */ #include <linux/fcntl.h>
include/linux/sound.h +2 -0
@@ -25,6 +25,7 @@#define SND_DEV_AMIDI 13/* Like /dev/midi (obsolete) */ #define SND_DEV_ADMMIDI 14/* Like /dev/dmmidi (onsolete) */ +#ifdef __KERNEL__/* * Sound core interface functions */
@@ -40,3 +41,4 @@ extern void unregister_sound_special(int unit);extern void unregister_sound_mixer (int unit);extern void unregister_sound_midi (int unit);extern void unregister_sound_dsp (int unit); +#endif /* __KERNEL__ */
include/linux/spi/spidev.h +1 -0
@@ -22,6 +22,7 @@#ifndef SPIDEV_H #define SPIDEV_H +#include <linux/types.h> /* User space versions of kernel symbols for SPI clocking modes, * matching <linux/spi/spi.h>
include/linux/synclink.h +2 -0
@@ -13,6 +13,8 @@#define _SYNCLINK_H_#define SYNCLINK_H_VERSION 3.6 +#include <linux/types.h> +#define BIT0 0x0001#define BIT1 0x0002#define BIT2 0x0004
include/linux/taskstats.h +2 -0
@@ -16,6 +16,8 @@#ifndef _LINUX_TASKSTATS_H#define _LINUX_TASKSTATS_H +#include <linux/types.h> +/* Format for per-task data returned to userland when * - a task exits * - listener requests stats for a task
include/linux/tc_act/tc_gact.h +1 -0
@@ -1,6 +1,7 @@#ifndef __LINUX_TC_GACT_H#define __LINUX_TC_GACT_H +#include <linux/types.h> #include <linux/pkt_cls.h> #define TCA_ACT_GACT 5
include/linux/tc_act/tc_mirred.h +1 -0
@@ -1,6 +1,7 @@#ifndef __LINUX_TC_MIR_H#define __LINUX_TC_MIR_H +#include <linux/types.h> #include <linux/pkt_cls.h> #define TCA_ACT_MIRRED 8
include/linux/tc_act/tc_pedit.h +1 -0
@@ -1,6 +1,7 @@#ifndef __LINUX_TC_PED_H#define __LINUX_TC_PED_H +#include <linux/types.h> #include <linux/pkt_cls.h> #define TCA_ACT_PEDIT 7
include/linux/tc_ematch/tc_em_cmp.h +1 -0
@@ -1,6 +1,7 @@#ifndef __LINUX_TC_EM_CMP_H#define __LINUX_TC_EM_CMP_H +#include <linux/types.h> #include <linux/pkt_cls.h> struct tcf_em_cmp
include/linux/tc_ematch/tc_em_meta.h +1 -0
@@ -1,6 +1,7 @@#ifndef __LINUX_TC_EM_META_H#define __LINUX_TC_EM_META_H +#include <linux/types.h> #include <linux/pkt_cls.h> enum
include/linux/tc_ematch/tc_em_nbyte.h +1 -0
@@ -1,6 +1,7 @@#ifndef __LINUX_TC_EM_NBYTE_H#define __LINUX_TC_EM_NBYTE_H +#include <linux/types.h> #include <linux/pkt_cls.h> struct tcf_em_nbyte
include/linux/tc_ematch/tc_em_text.h +1 -0
@@ -1,6 +1,7 @@#ifndef __LINUX_TC_EM_TEXT_H#define __LINUX_TC_EM_TEXT_H +#include <linux/types.h> #include <linux/pkt_cls.h> #define TC_EM_TEXT_ALGOSIZ 16
include/linux/usb/cdc.h +2 -0
@@ -9,6 +9,8 @@#ifndef __LINUX_USB_CDC_H#define __LINUX_USB_CDC_H +#include <linux/types.h> +#define USB_CDC_SUBCLASS_ACM 0x02#define USB_CDC_SUBCLASS_ETHERNET 0x06#define USB_CDC_SUBCLASS_WHCM 0x08
include/linux/usb/gadgetfs.h +1 -1
@@ -18,7 +18,7 @@#ifndef __LINUX_USB_GADGETFS_H#define __LINUX_USB_GADGETFS_H -#include <asm/types.h> +#include <linux/types.h> #include <asm/ioctl.h> #include <linux/usb/ch9.h>
include/linux/video_decoder.h +2 -0
@@ -1,6 +1,8 @@#ifndef _LINUX_VIDEO_DECODER_H#define _LINUX_VIDEO_DECODER_H +#include <linux/types.h> +#define HAVE_VIDEO_DECODER 1 struct video_decoder_capability { /* this name is too long */
include/linux/video_encoder.h +2 -0
@@ -1,6 +1,8 @@ #ifndef _LINUX_VIDEO_ENCODER_H #define _LINUX_VIDEO_ENCODER_H +#include <linux/types.h> + struct video_encoder_capability { /* this name is too long */ __u32 flags; #define VIDEO_ENCODER_PAL 1 /* can encode PAL signal */
include/linux/videodev.h +1 -0
@@ -12,6 +12,7 @@#ifndef __LINUX_VIDEODEV_H#define __LINUX_VIDEODEV_H +#include <linux/types.h> #include <linux/ioctl.h> #include <linux/videodev2.h>
include/linux/virtio_blk.h +1 -0
@@ -2,6 +2,7 @@#define _LINUX_VIRTIO_BLK_H/* This header is BSD licensed so anyone can use the definitions to implement * compatible drivers/servers. */ +#include <linux/types.h> #include <linux/virtio_config.h> /* The ID for virtio_block */
include/linux/virtio_console.h +1 -0
@@ -1,5 +1,6 @@#ifndef _LINUX_VIRTIO_CONSOLE_H#define _LINUX_VIRTIO_CONSOLE_H +#include <linux/types.h> #include <linux/virtio_config.h> /* This header, excluding the #ifdef __KERNEL__ part, is BSD licensed so * anyone can use the definitions to implement compatible drivers/servers. */
include/linux/virtio_net.h +1 -0
@@ -2,6 +2,7 @@#define _LINUX_VIRTIO_NET_H/* This header is BSD licensed so anyone can use the definitions to implement * compatible drivers/servers. */ +#include <linux/types.h> #include <linux/virtio_config.h> /* The ID for virtio_net */
include/mtd/inftl-user.h +2 -0
@@ -6,6 +6,8 @@#ifndef __MTD_INFTL_USER_H__#define __MTD_INFTL_USER_H__ +#include <linux/types.h> +#define OSAK_VERSION 0x5120#define PERCENTUSED 98
include/sound/hdsp.h +2 -0
@@ -19,6 +19,8 @@* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include <linux/types.h> +#define HDSP_MATRIX_MIXER_SIZE 2048enum HDSP_IO_Type {
include/video/sisfb.h +1 -1
@@ -21,8 +21,8 @@#ifndef _LINUX_SISFB_H_#define _LINUX_SISFB_H_ +#include <linux/types.h> #include <asm/ioctl.h> -#include <asm/types.h> /**********************************************/ /* PUBLIC */
include/video/uvesafb.h +2 -0
@@ -1,6 +1,8 @@ #ifndef _UVESAFB_H #define _UVESAFB_H +#include <linux/types.h> + struct v86_regs { __u32 ebx; __u32 ecx;
Quoted 196 lines · Jaswinder Singh Rajput
filtered out CONFIG_* changes, based on Linus tree.
Please pull:
The following changes since commit
f2257b70b0f9b2fe8f2afd83fc6798dca75930b8:
Linus Torvalds (1):Merge git://git.kernel.org/.../sfrench/cifs-2.6are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jaswinder/linux-2.6.gitmasterJaswinder Singh Rajput (90):
headers_checkfix:can/bcm.h
headers_checkfix:dvb/audio.h
headers_checkfix:dvb/dmx.h
headers_checkfix:dvb/frontend.h
headers_checkfix:dvb/net.h
headers_checkfix:dvb/video.h
headers_checkfix:netfilter/xt_conntrack.h
headers_checkfix:nfsd/export.h
headers_checkfix:nfsd/nfsfh.h
headers_checkfix:nfsd/syscall.h
headers_checkfix:raid/md_p.h
headers_checkfix:spi/spidev.h
headers_checkfix:tc_act/tc_gact.h
headers_checkfix:tc_act/tc_mirred.h
headers_checkfix:tc_act/tc_pedit.h
headers_checkfix:tc_ematch/tc_em_cmp.h
headers_checkfix:tc_ematch/tc_em_meta.h
headers_checkfix:tc_ematch/tc_em_nbyte.h
headers_checkfix:tc_ematch/tc_em_text.h
headers_checkfix:usb/cdc.h
headers_checkfix:usb/gadgetfs.h
headers_checkfix:linux/aio_abi.h
headers_checkfix:linux/atalk.h
headers_checkfix:linux/atmbr2684.h
headers_checkfix:linux/auto_fs4.h
headers_checkfix:linux/bfs_fs.h
headers_checkfix:linux/blktrace_api.h
headers_checkfix:linux/capability.h
headers_checkfix:linux/cdrom.h
headers_checkfix:linux/cgroupstats.h
headers_checkfix:linux/dlm_plock.h
headers_checkfix:linux/dn.h
headers_checkfix:linux/edd.h
headers_checkfix:linux/efs_fs_sb.h
headers_checkfix:linux/elf-fdpic.h
headers_checkfix:linux/elf.h
headers_checkfix:linux/errqueue.h
headers_checkfix:linux/genetlink.h
headers_checkfix:linux/gfs2_ondisk.h
headers_checkfix:linux/hid.h
headers_checkfix:linux/hiddev.h
headers_checkfix:linux/icmpv6.h
headers_checkfix:linux/if_addr.h
headers_checkfix:linux/if_addrlabel.h
headers_checkfix:linux/if_fc.h
headers_checkfix:linux/if_hippi.h
headers_checkfix:linux/if_link.h
headers_checkfix:linux/if_ppp.h
headers_checkfix:linux/if_strip.h
headers_checkfix:linux/if_tr.h
headers_checkfix:linux/igmp.h
headers_checkfix:linux/inet_diag.h
headers_checkfix:linux/ip6_tunnel.h
headers_checkfix:linux/ipv6.h
headers_checkfix:linux/ipv6_route.h
headers_checkfix:linux/ipx.h
headers_checkfix:linux/irda.h
headers_checkfix:linux/minix_fs.h
headers_checkfix:linux/msdos_fs.h
headers_checkfix:linux/neighbour.h
headers_checkfix:linux/nfs_idmap.h
headers_checkfix:linux/phonet.h
headers_checkfix:linux/pkt_cls.h
headers_checkfix:linux/pkt_sched.h
headers_checkfix:linux/ppp_defs.h
headers_checkfix:linux/random.h
headers_checkfix:linux/signalfd.h
headers_checkfix:linux/sound.h
headers_checkfix:linux/synclink.h
headers_checkfix:linux/taskstats.h
headers_checkfix:linux/video_decoder.h
headers_checkfix:linux/video_encoder.h
headers_checkfix:linux/videodev.h
headers_checkfix:linux/virtio_blk.h
headers_checkfix:linux/virtio_console.h
headers_checkfix:linux/virtio_net.h
headers_checkfix:mtd/inftl-user.h
headers_checkfix:sound/hdsp.h
headers_checkfix:video/sisfb.h
headers_checkfix:video/uvesafb.h
headers_checkfix:linux/nubus.h
headers_checkfix:linux/rtnetlink.h
headers_checkfix: x86,e820.h
headers_checkfix: x86,kvm.h
headers_checkfix: x86,mce.h
headers_checkfix: x86,mtrr.h
headers_checkfix: x86,ptrace-abi.h
headers_checkfix: x86,sigcontext.h
headers_checkfix: x86,sigcontext32.h
headers_checkfix: x86,swab.harch/x86/include/asm/e820.h | 1 + arch/x86/include/asm/kvm.h | 2 +- arch/x86/include/asm/mce.h | 5 +---- arch/x86/include/asm/mtrr.h | 1 + arch/x86/include/asm/ptrace-abi.h | 2 +- arch/x86/include/asm/sigcontext.h | 2 +- arch/x86/include/asm/sigcontext32.h | 2 ++ arch/x86/include/asm/swab.h | 2 +- include/linux/aio_abi.h | 1 + include/linux/atalk.h | 1 + include/linux/atmbr2684.h | 1 + include/linux/auto_fs4.h | 1 + include/linux/bfs_fs.h | 3 ++- include/linux/blktrace_api.h | 1 + include/linux/can/bcm.h | 2 ++ include/linux/capability.h | 8 ++++---- include/linux/cdrom.h | 1 + include/linux/cgroupstats.h | 1 + include/linux/dlm_plock.h | 2 ++ include/linux/dn.h | 2 ++ include/linux/dvb/audio.h | 5 ----- include/linux/dvb/dmx.h | 2 +- include/linux/dvb/frontend.h | 3 +-- include/linux/dvb/net.h | 3 +-- include/linux/dvb/video.h | 7 ++----- include/linux/edd.h | 2 ++ include/linux/efs_fs_sb.h | 1 + include/linux/elf-fdpic.h | 2 ++ include/linux/elf.h | 3 ++- include/linux/errqueue.h | 2 ++ include/linux/genetlink.h | 1 + include/linux/gfs2_ondisk.h | 2 ++ include/linux/hid.h | 2 ++ include/linux/hiddev.h | 2 ++ include/linux/icmpv6.h | 1 + include/linux/if_addr.h | 1 + include/linux/if_addrlabel.h | 2 ++ include/linux/if_fc.h | 1 + include/linux/if_hippi.h | 1 + include/linux/if_link.h | 1 + include/linux/if_ppp.h | 1 + include/linux/if_strip.h | 2 ++ include/linux/if_tr.h | 1 + include/linux/igmp.h | 1 + include/linux/inet_diag.h | 2 ++ include/linux/ip6_tunnel.h | 2 ++ include/linux/ipv6.h | 1 + include/linux/ipv6_route.h | 2 ++ include/linux/ipx.h | 1 + include/linux/irda.h | 2 ++ include/linux/minix_fs.h | 1 + include/linux/msdos_fs.h | 1 + include/linux/neighbour.h | 1 + include/linux/netfilter/xt_conntrack.h | 1 + include/linux/nfs_idmap.h | 2 ++ include/linux/nfsd/export.h | 3 +-- include/linux/nfsd/nfsfh.h | 3 +-- include/linux/nfsd/syscall.h | 3 +-- include/linux/nubus.h | 1 + include/linux/phonet.h | 2 ++ include/linux/pkt_cls.h | 1 + include/linux/pkt_sched.h | 2 ++ include/linux/ppp_defs.h | 2 ++ include/linux/raid/md_p.h | 2 ++ include/linux/random.h | 1 + include/linux/rtnetlink.h | 1 + include/linux/signalfd.h | 1 + include/linux/sound.h | 2 ++ include/linux/spi/spidev.h | 1 + include/linux/synclink.h | 2 ++ include/linux/taskstats.h | 2 ++ include/linux/tc_act/tc_gact.h | 1 + include/linux/tc_act/tc_mirred.h | 1 + include/linux/tc_act/tc_pedit.h | 1 + include/linux/tc_ematch/tc_em_cmp.h | 1 + include/linux/tc_ematch/tc_em_meta.h | 1 + include/linux/tc_ematch/tc_em_nbyte.h | 1 + include/linux/tc_ematch/tc_em_text.h | 1 + include/linux/usb/cdc.h | 2 ++ include/linux/usb/gadgetfs.h | 2 +- include/linux/video_decoder.h | 2 ++ include/linux/video_encoder.h | 2 ++ include/linux/videodev.h | 1 + include/linux/virtio_blk.h | 1 + include/linux/virtio_console.h | 1 + include/linux/virtio_net.h | 1 + include/mtd/inftl-user.h | 2 ++ include/sound/hdsp.h | 2 ++ include/video/sisfb.h | 2 +- include/video/uvesafb.h | 2 ++ 90 files changed, 125 insertions(+), 37 deletions(-)
Quoted 1 line
Fixed 114
headers_checkwarnings:
They all look reasonable, pulled them into tip/core/header-fixes, thanks Jaswinder!
Sam, would you mind to remove the CONFIG_* warnings from headers_check, and get that commit to Linus ASAP? (or we can put it into this branch too, if you prefer it that way)
Those warnings wont be worked around in the headers and that check litters the CONFIG_HEADER_CHECK=y build with warnings right now and make it impossible to reach a warning-free build.
Ingo
Quoted 7 lines · Ingo Molnar
Sam, would you mind to remove the CONFIG_* warnings from
headers_check, and get that commit to Linus ASAP? (or we can put it into this branch too, if you prefer it that way)Those warnings wont be worked around in the headers and that check litters the
CONFIG_HEADER_CHECK=ybuild with warnings right now and make it impossible to reach a warning-free build.
I double-checked the remaining CONFIG_* warnings in this version to make sure that we are not dropping any warnings about actual bugs. There are a few places where the kernel exports more than it should, but there is a lot more of that without warnings, so that's fine.
The only places that believe to be bugs that needs fixing are in <linux/kvm.h> and <asm-x86/ptrace-abi.h>. Avi has a patch for kvm.h that in the kvm tree.
Below, you can find a patch for the remaining problem.
Arnd <><
---
Subject: x86: export PTRACE_BTS interfaces to user space
The definitions for PTRACE_BTS_* are inside of #ifdef CONFIG_X86_PTRACE_BTS, which means that they are invisible to user space. Remove the #ifdef so that the interface becomes visible.
arch/x86/include/asm/ptrace-abi.h +0 -3
@@ -80,8 +80,6 @@#define PTRACE_SINGLEBLOCK 33/* resume execution until next branch */ -#ifdef CONFIG_X86_PTRACE_BTS -#ifndef __ASSEMBLY__#include <linux/types.h>
@@ -140,6 +138,5 @@ struct ptrace_bts_config {BTS records are read from oldest to newest. Returns number of BTS records drained. */ -#endif /* CONFIG_X86_PTRACE_BTS */ #endif /* _ASM_X86_PTRACE_ABI_H */
PATCH 1/1 kbuild: drop check for CONFIG_ in headers_check
In reply to Ingo MolnarThe 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.
---
Hi Ingo.
Please include this in the tip/core/header-fixes brach as this is the natural path towards mainline.
Jaswinder - thanks for your effort chasing all these warnings!
Sam
scripts/headers_check.pl +1 -1
@@ -38,7 +38,7 @@ foreach my $file (@files) { &check_asm_types(); &check_sizetypes(); &check_prototypes(); - &check_config(); + # Dropped for now. Too much noise &check_config(); } close FH; }
Ingo Molnar
AppliedRe: [PATCH] kbuild: drop check for CONFIG_ in headers_check
Quoted 8 lines · Sam Ravnborg
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.
Quoted 8 lines
Cc Jaswinder Singh Rajput <[email protected]>Signed-off-by Sam Ravnborg <[email protected]>---
Hi Ingo.
Please include this in the tip/core/header-fixes brach as this is the natural path towards mainline.Jaswinder - thanks for your effort chasing all these warnings!
Applied to tip/core/header-fixes, thanks Sam for the quick patch!
Jaswinder, i think we now have a realistic chance to reach a zero baseline with these warnings, for v2.6.29. Here are the remaining warnings (summed up per file) on x86 (after Sam's patch):
17 /dev/shm/tip/usr/include/linux/reiserfs_fs.h
12 /dev/shm/tip/usr/include/linux/soundcard.h
3 /dev/shm/tip/usr/include/linux/nubus.h
2 /dev/shm/tip/usr/include/linux/in6.h
1 /dev/shm/tip/usr/include/mtd/jffs2-user.h
1 /dev/shm/tip/usr/include/linux/socket.h
1 /dev/shm/tip/usr/include/linux/coda_psdev.h
1 /dev/shm/tip/usr/include/linux/bsg.h
IngoRe: [PATCH] kbuild: drop check for CONFIG_ in headers_check
Quoted 4 lines · Ingo Molnar
Jaswinder, i think we now have a realistic chance to reach a zero baseline with these warnings, for v2.6.29. Here are the remaining warnings (summed up per file) on x86 (after Sam's patch):
Quoted 9 lines
17
/dev/shm/tip/usr/include/linux/reiserfs_fs.h12/dev/shm/tip/usr/include/linux/soundcard.h3/dev/shm/tip/usr/include/linux/nubus.h2/dev/shm/tip/usr/include/linux/in6.h1/dev/shm/tip/usr/include/mtd/jffs2-user.h1/dev/shm/tip/usr/include/linux/socket.h1/dev/shm/tip/usr/include/linux/coda_psdev.h1/dev/shm/tip/usr/include/linux/bsg.h
Ah, that doesn't look too bad. On a related subject, was there ever a conclusion about whether we want to support __KERNEL_STRICT_NAMES in every header? When that is set, headers cannot use most of the standard types (dev_t, mode_t, off_t, pid_t, suseconds_t, timer_t, uid_t, gid_t, loff_t, time_t, clock_t, caddr_t, pgoff_t, {u_,u,}int{8,16,32,64}_6}) but have to use the __kernel_* versions of that.
It doesn't seem hard to fix, but I'm not sure if it needs to be touched. If we decide to fix it, it's easy enough to do during headers_install, or once for the whole tree. The __kernel_* types need this patch:
asm-generic/fcntl.h | 12 ++++++------ asm-generic/siginfo.h | 14 +++++++------- linux/agpgart.h | 14 +++++++------- linux/cn_proc.h | 20 ++++++++++---------- linux/cyclades.h | 6 +++--- linux/dvb/video.h | 2 +- linux/if_pppol2tp.h | 2 +- linux/mroute6.h | 2 +- linux/netfilter_ipv4/ipt_owner.h | 8 ++++---- linux/netfilter_ipv6/ip6t_owner.h | 8 ++++---- linux/ppp_defs.h | 4 ++-- linux/suspend_ioctls.h | 4 ++-- linux/xfrm.h | 2 +- mtd/mtd-abi.h | 4 ++-- sound/asound.h | 4 ++-- 14 files changed, 52 insertions(+), 52 deletions(-)
The int types are a lot more:
drm/drm.h | 18 ++-- drm/drm_mode.h | 148 ++++++++++++++-------------- drm/i915_drm.h | 138 +++++++++++++------------- drm/mga_drm.h | 16 ++-- drm/radeon_drm.h | 2 +- drm/via_drm.h | 40 ++++---- linux/atmlec.h | 4 +- linux/atmmpc.h | 44 +++++----- linux/cm4000_cs.h | 8 +- linux/dlm_netlink.h | 16 ++-- linux/dm-ioctl.h | 42 ++++---- linux/dvb/audio.h | 2 +- linux/dvb/video.h | 22 ++-- linux/if_arcnet.h | 26 +++--- linux/ip_vs.h | 26 +++--- linux/ivtvfb.h | 2 +- linux/jffs2.h | 26 +++--- linux/matroxfb.h | 2 +- linux/pfkeyv2.h | 242 +++++++++++++++++++++++----------------------- linux/selinux_netlink.h | 4 +- linux/suspend_ioctls.h | 2 +- mtd/inftl-user.h | 36 ++++---- mtd/jffs2-user.h | 4 +- mtd/mtd-abi.h | 64 ++++++------ mtd/nftl-user.h | 30 +++--- mtd/ubi-user.h | 70 +++++++------- sound/asound.h | 2 +- sound/emu10k1.h | 8 +- 29 files changed, 523 insertions(+), 523 deletions(-)
Re: [PATCH] kbuild: drop check for CONFIG_ in headers_check
Quoted 15 lines · Arnd Bergmann
Quoted 4 lines · Ingo Molnar
Jaswinder, i think we now have a realistic chance to reach a zero baseline with these warnings, for v2.6.29. Here are the remaining warnings (summed up per file) on x86 (after Sam's patch):
Quoted 9 lines
17
/dev/shm/tip/usr/include/linux/reiserfs_fs.h12/dev/shm/tip/usr/include/linux/soundcard.h3/dev/shm/tip/usr/include/linux/nubus.h2/dev/shm/tip/usr/include/linux/in6.h1/dev/shm/tip/usr/include/mtd/jffs2-user.h1/dev/shm/tip/usr/include/linux/socket.h1/dev/shm/tip/usr/include/linux/coda_psdev.h1/dev/shm/tip/usr/include/linux/bsg.h
Quoted 6 lines
Ah, that doesn't look too bad. On a related subject, was there ever a conclusion about whether we want to support
__KERNEL_STRICT_NAMESin every header? When that is set, headers cannot use most of the standard types (dev_t,mode_t,off_t,pid_t,suseconds_t,timer_t,uid_t,gid_t,loff_t,time_t,clock_t,caddr_t,pgoff_t, {u_,u,}int{8,16,32,64}_6}) but have to use the __kernel_* versions of that.
hm, that looks quite ugly and unnatural. Could the usr/* exporting scripts convert these types automatically to the __kernel_* versions?
Ingo
Re: [PATCH] kbuild: drop check for CONFIG_ in headers_check
Quoted 2 lines · Ingo Molnar
hm, that looks quite ugly and unnatural. Could the
usr/*exporting scripts convert these types automatically to the __kernel_* versions?
It's possible, but there are some minor complications, e.g. linux/coda.h has its own magic code that would likely break in the process, so it needs to be skipped. Some other files conditionally include <sys/types.h> or <stdint.h> in user space and would break in a similar way.
For the __kernel_ types, we have 87 instances in the tree, and 53 more that would have to change. For the int types, there are over 4000 instances of the correct __u32 style and about 800 that use the u_int32_t or uint32_t style, most of them in netfilter and linux/pfkeyv2.h.
I'd probably leave at least the drm, netfilter and mtd headers alone, as they are known to be working and consistently use the stdint.h types.
Arnd <><