]> git.baikalelectronics.ru Git - 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)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 26 Jan 2021 14:10:58 +0000 (15:10 +0100)
commit19b4defdd94f9a4f959889e76081091638c35f47
tree470b54f9823fd454bfd6f29eb5ba1e39b5e4b939
parent3c04cb8b4934a03501f07ff7c5b31d3e5de764f5
futex: Replace pointless printk in fixup_owner()

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
kernel/futex.c