Thomas Bogendoerfer <[EMAIL PROTECTED]> :
[...]
> diff --git a/drivers/net/sni_82596.c b/drivers/net/sni_82596.c
> new file mode 100644
> index 0000000..80e32ad
> --- /dev/null
> +++ b/drivers/net/sni_82596.c
[...]
> +static int __devinit sni_82596_probe(struct platform_device *dev)
> +{
[...]
> +     if (retval) {
> +             free_netdev(netdevice);
> +probe_failed:
> +             if (mpu_addr)
> +                     iounmap(mpu_addr);
> +             if (ca_addr)
> +                     iounmap(ca_addr);
> +             if (eth_addr)
                    ^^^
> +                     iounmap(ca_addr);
                                ^^
-> typo

Please use plain goto with proper labels and remove the tests.

-- 
Ueimor
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to