]> git.ipfire.org Git - thirdparty/kernel/stable.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:55:17 +0000 (13:55 +0100)
commit5ede8ee2cb16f4dd066a37b38ad46576dbf20d45
tree56e92cabbc079e5737e302ac1079c91d0e7a5ecc
parentab5e9a320e444fda64e5912f0e0f4f02021569ea
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