Re: [PATCH V2 2/2] r6040: Do a Proper deinit at errorpath and alsowhen driver unloads (calling r6040_remove_one)

From: David Miller
Date: Tue May 29 2012 - 22:31:40 EST


From: Devendra Naga <devendra.aaru@xxxxxxxxx>
Date: Wed, 30 May 2012 05:13:34 +0530

> so if mdiobus_alloc fails, the errorpath doesnt do a netif_napi_del and also
> doesn't set the priv data of the driver to NULL.
>
> at the driver unload stage the driver doesn't remove the NAPI context, and
> doesnt' set the priv data to NULL, and also doesn't call the pci_iounmap.
>
> Signed-off-by: Devendra Naga <devendra.aaru@xxxxxxxxx>

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