]> git.ipfire.org Git - people/arne_f/kernel.git/commit
futex: Replace pointless printk in fixup_owner()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 19 Jan 2021 15:06:10 +0000 (16:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Jan 2021 12:32:12 +0000 (13:32 +0100)
commitf03b21494da1ebf4ecfcb34ab647f35dc7fb7d92
tree928f7eb94e3fdc4f265c4ccb8d2f60157eccdb15
parent72f38fffa4758b878f819f8a47761b3f03443f36
futex: Replace pointless printk in fixup_owner()

commit 04b79c55201f02ffd675e1231d731365e335c307 upstream

If that unexpected case of inconsistent arguments ever happens then the
futex state is left completely inconsistent and the printk is not really
helpful. Replace it with a warning and make the state consistent.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/futex.c