timer: Fix two mistakes in callback conversions
Two errors found their way into the timer callback conversions that weren't noticed with x86 allmodconfig. Reported-by: kernel test robot <lkp@01.org> Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/20171005171035.GA34831@beast
This commit is contained in:

committed by
Thomas Gleixner

parent
8c20feb606
commit
6ac3526451
@@ -841,7 +841,6 @@ lcs_lancmd_timeout(struct timer_list *t)
|
||||
unsigned long flags;
|
||||
|
||||
LCS_DBF_TEXT(4, trace, "timeout");
|
||||
reply = (struct lcs_reply *) data;
|
||||
spin_lock_irqsave(&reply->card->lock, flags);
|
||||
list_for_each_entry_safe(list_reply, r,
|
||||
&reply->card->lancmd_waiters,list) {
|
||||
|
Reference in New Issue
Block a user