The data structure which contains the timer is about to be freed. Make
sure no callback is running.

Signed-off-by: Thomas Gleixner <t...@linutronix.de>
Cc: Grant Likely <grant.lik...@linaro.org>
---
 drivers/block/xsysace.c |    2 ++
 1 file changed, 2 insertions(+)

Index: tip/drivers/block/xsysace.c
===================================================================
--- tip.orig/drivers/block/xsysace.c
+++ tip/drivers/block/xsysace.c
@@ -1088,6 +1088,8 @@ static void ace_teardown(struct ace_devi
        if (ace->irq)
                free_irq(ace->irq, ace);
 
+       del_timer_sync(&ace->stall_timer);
+
        iounmap(ace->baseaddr);
 }
 


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to