Revert "tty: hvc: Fix data abort due to race in hvc_open"
commita160afebd779bd2fdb0b21dd1680490b1e248d5d
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:37:13 +0000 (30 15:37 -0400)
treed3612732951a9141e9d5993e51a1f62c6370983e
parentffd40b7962d463daa531a8110e5b708bcb5c6da7
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