]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
futex: Replace pointless printk in fixup_owner()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 3 Feb 2021 13:45:34 +0000 (13:45 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Feb 2021 08:09:23 +0000 (09:09 +0100)
commit083895e36422882ac5bb393337b6f7cb1a5f046d
tree834e04f058c575cc47d4843de4d8e5edca4a0b06
parent781691c797deefe41090e9f0c02e8fcb9fca4ccf
futex: Replace pointless printk in fixup_owner()

[ Upstream commit 04b79c55201f02ffd675e1231d731365e335c307 ]

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: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/futex.c