Revert "tty: hvc: Fix data abort due to race in hvc_open"
commitfeb6c2d13de3ad161c867c7e01c85f40e8bf18e9
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 May 2020 08:22:44 +0000 (12 10:22 +0200)
committerSasha Levin <sashal@kernel.org>
Tue, 30 Jun 2020 19:36:31 +0000 (30 15:36 -0400)
treed63382358b642b40cf4d3e1c42c78ff7b85ee21e
parentedb930b4eaa735d31d8b7b7d2497b9c51e451d5f
Revert "tty: hvc: Fix data abort due to race in hvc_open"

commit cf9c94456ebafc6d75a834e58dfdc8ae71a3acbc upstream.

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