From: Arvind Yadav
Date: Tue, 14 Nov 2017 13:42:38 +0530
> atm_dev_register() can fail here and passed parameters to free irq
> which is not initialised. Initialization of 'dev->irq' happened after
> the 'goto out_free_irq'. So using 'irq' insted of 'dev->irq' in
> free_irq().
>
> Signed-off-by:
atm_dev_register() can fail here and passed parameters to free irq
which is not initialised. Initialization of 'dev->irq' happened after
the 'goto out_free_irq'. So using 'irq' insted of 'dev->irq' in
free_irq().
Signed-off-by: Arvind Yadav
---
drivers/atm/horizon.c | 2 +-
1 file changed, 1 ins
2 matches
Mail list logo