mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
s390/qdio: tear down thinint indicator after early error
qdio_establish() calls qdio_establish_thinint(), but later has an error
exit path that doesn't roll this call back. Fix it.
Fixes: 779e6e1c72
("[S390] qdio: new qdio driver.")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Benjamin Block <bblock@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
parent
7b942b4be9
commit
68a381746f
1 changed files with 1 additions and 0 deletions
|
@ -1363,6 +1363,7 @@ int qdio_establish(struct ccw_device *cdev,
|
|||
if (rc) {
|
||||
DBF_ERROR("%4x est IO ERR", irq_ptr->schid.sch_no);
|
||||
DBF_ERROR("rc:%4x", rc);
|
||||
qdio_shutdown_thinint(irq_ptr);
|
||||
qdio_shutdown_irq(irq_ptr);
|
||||
mutex_unlock(&irq_ptr->setup_mutex);
|
||||
return rc;
|
||||
|
|
Loading…
Reference in a new issue