• Frederic Weisbecker's avatar
    posix-timers: Convert abuses of BUG_ON to WARN_ON · 531f64fd
    Frederic Weisbecker authored
    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: default avatarFrederic 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>
    531f64fd
posix-cpu-timers.c 38.2 KB