projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02ba8d2
)
s390/tape: Add missing destroy_timer_on_stack()
author
Thomas Gleixner
<tglx@linutronix.de>
Sun, 23 Mar 2014 15:09:25 +0000
(15:09 +0000)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Tue, 1 Apr 2014 07:23:37 +0000
(09:23 +0200)
Otherwise we leak a tracking object when DEBUG_OBJECTS is enabled.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/tape_std.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/s390/char/tape_std.c
b/drivers/s390/char/tape_std.c
index cf577a2b13ace9a62231d1720286ec0cdad02d13..3478e19ae194567520c93838b8a1ed2316c8d061 100644
(file)
--- a/
drivers/s390/char/tape_std.c
+++ b/
drivers/s390/char/tape_std.c
@@
-79,6
+79,7
@@
tape_std_assign(struct tape_device *device)
rc = tape_do_io_interruptible(device, request);
del_timer_sync(&timeout);
+ destroy_timer_on_stack(&timeout);
if (rc != 0) {
DBF_EVENT(3, "%08x: assign failed - device might be busy\n",