]> git.baikalelectronics.ru Git - kernel.git/commit
BUG: headers with BUG/BUG_ON etc. need linux/bug.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 24 Nov 2011 01:12:59 +0000 (20:12 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 4 Mar 2012 22:54:34 +0000 (17:54 -0500)
commit187f1882b5b0748b3c4c22274663fdb372ac0452
tree36283f258cf65f03599a045d48bb05d0ec27f3f9
parent50af5ead3b44ccf8bd2b4d2a50c1b610f557c480
BUG: headers with BUG/BUG_ON etc. need linux/bug.h

If a header file is making use of BUG, BUG_ON, BUILD_BUG_ON, or any
other BUG variant in a static inline (i.e. not in a #define) then
that header really should be including <linux/bug.h> and not just
expecting it to be implicitly present.

We can make this change risk-free, since if the files using these
headers didn't have exposure to linux/bug.h already, they would have
been causing compile failures/warnings.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
64 files changed:
arch/avr32/include/asm/io.h
arch/m68k/include/asm/system.h
arch/sparc/include/asm/vga.h
arch/x86/include/asm/paravirt.h
include/asm-generic/dma-mapping-common.h
include/asm-generic/pgtable.h
include/asm-generic/tlbflush.h
include/drm/ttm/ttm_memory.h
include/linux/atmdev.h
include/linux/bio.h
include/linux/bit_spinlock.h
include/linux/ceph/decode.h
include/linux/ceph/libceph.h
include/linux/ceph/mdsmap.h
include/linux/cpumask.h
include/linux/crypto.h
include/linux/debug_locks.h
include/linux/dmaengine.h
include/linux/elfcore.h
include/linux/ext3_fs.h
include/linux/fs.h
include/linux/fsnotify.h
include/linux/gpio.h
include/linux/highmem.h
include/linux/i2o.h
include/linux/if_vlan.h
include/linux/io-mapping.h
include/linux/kprobes.h
include/linux/kvm_host.h
include/linux/memory_hotplug.h
include/linux/mm.h
include/linux/mtd/cfi.h
include/linux/netdevice.h
include/linux/nilfs2_fs.h
include/linux/page-flags.h
include/linux/pid_namespace.h
include/linux/posix_acl.h
include/linux/ptrace.h
include/linux/radix-tree.h
include/linux/rcupdate.h
include/linux/regset.h
include/linux/reiserfs_fs.h
include/linux/relay.h
include/linux/scatterlist.h
include/linux/seq_file.h
include/linux/skbuff.h
include/linux/slub_def.h
include/linux/ssb/ssb_driver_gige.h
include/linux/swapops.h
include/linux/syscalls.h
include/linux/transport_class.h
include/linux/virtio_config.h
include/net/cfg80211.h
include/net/dst.h
include/net/ip_vs.h
include/net/mac80211.h
include/net/netns/generic.h
include/net/red.h
include/net/tcp.h
include/net/timewait_sock.h
include/net/udp.h
include/net/wpan-phy.h
include/scsi/osd_ore.h
include/scsi/scsi_transport.h