Re: [PATCH] atm: horizon: Fix irq release error

From: David Miller
Date: Tue Nov 14 2017 - 08:04:50 EST


From: Arvind Yadav <arvind.yadav.cs@xxxxxxxxx>
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: Arvind Yadav <arvind.yadav.cs@xxxxxxxxx>

Applied.