Re: [PATCH] starfire net driver update

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Tue Jul 10 2001 - 11:49:13 EST


Ion Badulescu wrote:
> + unregister_netdev(dev); /* Will also free np!! */
> + iounmap((char *)dev->base_addr);
> + pci_release_regions(pdev);
>
> pci_set_drvdata(pdev, NULL);
> + kfree(dev);

no problem with the patch, this comment is wrong though. kfree frees
np.

-- 
Jeff Garzik      | A recent study has shown that too much soup
Building 1024    | can cause malaise in laboratory mice.
MandrakeSoft     |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jul 15 2001 - 21:00:12 EST