]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
s390/3215: fix hanging console issue
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 15 Jul 2014 15:53:12 +0000 (17:53 +0200)
committerJiri Slaby <jslaby@suse.cz>
Tue, 6 Jan 2015 14:01:15 +0000 (15:01 +0100)
commit22c60914c060fc8c62f52526411b73ea29eef46f
tree3a78deb779017b21f47a91a4a7972083141e9320
parent304ed40ae03a8e72934efc935247780d1b0ada66
s390/3215: fix hanging console issue

commit 26d766c60f4ea08cd14f0f3435a6db3d6cc2ae96 upstream.

The ccw_device_start in raw3215_start_io can fail. raw3215_try_io
does not check if the request could be started and removes any
pending timer. This can leave the system in a hanging state.
Check for pending request after raw3215_start_io and start a
timer if necessary.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/s390/char/con3215.c