Revert "tty: hvc: Fix data abort due to race in hvc_open"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 May 2020 08:22:44 +0000 (10:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 May 2020 08:22:44 +0000 (10:22 +0200)
commitcf9c94456ebafc6d75a834e58dfdc8ae71a3acbc
tree8adf1a34eb9587c1b2b5e85b6d47f669561a100c
parent1cc18584e5acfd845464616b66fb2fd81eff467e
Revert "tty: hvc: Fix data abort due to race in hvc_open"

This reverts commit e2bd1dcbe1aa34ff5570b3427c530e4332ecf0fe.

In discussion on the mailing list, it has been determined that this is
not the correct type of fix for this issue.  Revert it so that we can do
this correctly.

Reported-by: Jiri Slaby <jslaby@suse.cz>
Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20200428032601.22127-1-rananta@codeaurora.org
Cc: Raghavendra Rao Ananta <rananta@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/hvc/hvc_console.c