projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50f0e3b
)
lcs: 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:38 +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/net/lcs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/s390/net/lcs.c
b/drivers/s390/net/lcs.c
index f404f55b31917a3daac4ea9787e130786ad6b3b8..c461f2aac610ea6a8580c504c9a2fbb9dcb92979 100644
(file)
--- a/
drivers/s390/net/lcs.c
+++ b/
drivers/s390/net/lcs.c
@@
-899,6
+899,7
@@
lcs_send_lancmd(struct lcs_card *card, struct lcs_buffer *buffer,
add_timer(&timer);
wait_event(reply->wait_q, reply->received);
del_timer_sync(&timer);
+ destroy_timer_on_stack(&timer);
LCS_DBF_TEXT_(4, trace, "rc:%d",reply->rc);
rc = reply->rc;
lcs_put_reply(reply);