mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
Letting WARN_ON/WARN_ON_ONCE return the condition means that you could do
if (WARN_ON(blah)) {
handle_impossible_case
}
Rather than
if (unlikely(blah)) {
WARN_ON(1)
handle_impossible_case
}
I checked all the newly added WARN_ON_ONCE users and none of them test the
return status so we can still change it.
[akpm@osdl.org: warning fix]
[akpm@osdl.org: build fix]
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
||
|---|---|---|
| .. | ||
| iseries | ||
| 8253pit.h | ||
| a.out.h | ||
| abs_addr.h | ||
| agp.h | ||
| asm-compat.h | ||
| atomic.h | ||
| auxvec.h | ||
| backlight.h | ||
| bitops.h | ||
| bootx.h | ||
| btext.h | ||
| bug.h | ||
| bugs.h | ||
| byteorder.h | ||
| cache.h | ||
| cacheflush.h | ||
| checksum.h | ||
| compat.h | ||
| cputable.h | ||
| cputime.h | ||
| current.h | ||
| dbdma.h | ||
| delay.h | ||
| div64.h | ||
| dma-mapping.h | ||
| dma.h | ||
| eeh.h | ||
| eeh_event.h | ||
| elf.h | ||
| emergency-restart.h | ||
| errno.h | ||
| fcntl.h | ||
| firmware.h | ||
| floppy.h | ||
| futex.h | ||
| grackle.h | ||
| hardirq.h | ||
| heathrow.h | ||
| hvcall.h | ||
| hvconsole.h | ||
| hvcserver.h | ||
| hw_irq.h | ||
| i8259.h | ||
| ibmebus.h | ||
| ide.h | ||
| immap_86xx.h | ||
| io.h | ||
| ioctl.h | ||
| ioctls.h | ||
| iommu.h | ||
| ipc.h | ||
| ipcbuf.h | ||
| ipic.h | ||
| irq.h | ||
| irqflags.h | ||
| Kbuild | ||
| kdebug.h | ||
| kdump.h | ||
| kexec.h | ||
| keylargo.h | ||
| kmap_types.h | ||
| kprobes.h | ||
| linkage.h | ||
| lmb.h | ||
| local.h | ||
| lppaca.h | ||
| machdep.h | ||
| macio.h | ||
| mc146818rtc.h | ||
| mediabay.h | ||
| mman.h | ||
| mmu.h | ||
| mmu_context.h | ||
| mmzone.h | ||
| module.h | ||
| mpc86xx.h | ||
| mpic.h | ||
| msgbuf.h | ||
| mutex.h | ||
| namei.h | ||
| nvram.h | ||
| of_device.h | ||
| ohare.h | ||
| oprofile_impl.h | ||
| paca.h | ||
| page.h | ||
| page_32.h | ||
| page_64.h | ||
| param.h | ||
| parport.h | ||
| pci-bridge.h | ||
| pci.h | ||
| percpu.h | ||
| pgalloc.h | ||
| pgtable-4k.h | ||
| pgtable-64k.h | ||
| pgtable.h | ||
| pmac_feature.h | ||
| pmac_low_i2c.h | ||
| pmac_pfunc.h | ||
| pmc.h | ||
| poll.h | ||
| posix_types.h | ||
| ppc-pci.h | ||
| ppc_asm.h | ||
| processor.h | ||
| prom.h | ||
| pSeries_reconfig.h | ||
| ptrace.h | ||
| reg.h | ||
| reg_8xx.h | ||
| resource.h | ||
| rtas.h | ||
| rtc.h | ||
| rwsem.h | ||
| scatterlist.h | ||
| seccomp.h | ||
| sections.h | ||
| semaphore.h | ||
| sembuf.h | ||
| serial.h | ||
| setup.h | ||
| shmbuf.h | ||
| shmparam.h | ||
| sigcontext.h | ||
| siginfo.h | ||
| signal.h | ||
| smp.h | ||
| smu.h | ||
| socket.h | ||
| sockios.h | ||
| sparsemem.h | ||
| spinlock.h | ||
| spinlock_types.h | ||
| spu.h | ||
| spu_csa.h | ||
| spu_priv1.h | ||
| sstep.h | ||
| stat.h | ||
| statfs.h | ||
| string.h | ||
| synch.h | ||
| syscalls.h | ||
| systbl.h | ||
| system.h | ||
| tce.h | ||
| termbits.h | ||
| termios.h | ||
| thread_info.h | ||
| time.h | ||
| timex.h | ||
| tlb.h | ||
| tlbflush.h | ||
| todc.h | ||
| topology.h | ||
| tsi108.h | ||
| tsi108_irq.h | ||
| types.h | ||
| uaccess.h | ||
| ucontext.h | ||
| udbg.h | ||
| unaligned.h | ||
| uninorth.h | ||
| unistd.h | ||
| user.h | ||
| vdso.h | ||
| vdso_datapage.h | ||
| vga.h | ||
| vio.h | ||
| xmon.h | ||
| xor.h | ||