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)
committerSasha Levin <sashal@kernel.org>
Tue, 30 Jun 2020 19:38:10 +0000 (15:38 -0400)
commitf1bd26cf65a3f3d9dea9218eac4470af1dfcfb1e
tree821760be90131c1b31a1d093172f93f96082133f
parent115267e8d9fce8d5efe0949f1d2e5cee30441cf7
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