]> git.baikalelectronics.ru Git - kernel.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)
commit5efed2213fc6d89d8a06b837d624c4492c6b0f09
treeec485a59bc5cc37b195d50313d3888583345310d
parent7253d99cc130a4f0e287d11a873774590b0a0b40
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