projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5606330
)
s390/3270: add missing tty_kref_put
author
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Wed, 27 Apr 2016 12:32:06 +0000
(14:32 +0200)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Wed, 4 May 2016 14:29:50 +0000
(16:29 +0200)
The tty3270_resize_work functions acquires a reference to the tty
to call tty_do_resize but fails to release the reference again.
Add the missing tty_kref_put.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/tty3270.c
patch
|
blob
|
history
diff --git
a/drivers/s390/char/tty3270.c
b/drivers/s390/char/tty3270.c
index
e96fc7f
..
345f392
100644
(file)
--- a/
drivers/s390/char/tty3270.c
+++ b/
drivers/s390/char/tty3270.c
@@
-838,6
+838,7
@@
static void tty3270_resize_work(struct work_struct *work)
ws.ws_row = tp->view.rows - 2;
ws.ws_col = tp->view.cols;
tty_do_resize(tty, &ws);
+ tty_kref_put(tty);
}
static void