]> git.openfabrics.org - ~emulex/infiniband.git/commit
posix-timers: Convert abuses of BUG_ON to WARN_ON
authorFrederic Weisbecker <fweisbec@gmail.com>
Fri, 11 Oct 2013 15:58:08 +0000 (17:58 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Mon, 9 Dec 2013 15:56:29 +0000 (16:56 +0100)
commit531f64fd6f46a3f2a3edb1b97ecc827c775932c5
treeec485a59bc5cc37b195d50313d3888583345310d
parente73d84e33f15c099ed1df60437700093cb14e46e
posix-timers: Convert abuses of BUG_ON to WARN_ON

The posix cpu timers code makes a heavy use of BUG_ON()
but none of these concern fatal issues that require
to stop the machine. So let's just warn the user when
some internal state slips out of our hands.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Kosaki Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
kernel/posix-cpu-timers.c