lkml.org 
[lkml]   [2001]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] starfire net driver update
On Tue, 10 Jul 2001, Jeff Garzik wrote:

> 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.

True, the comment should be moved 5 lines down. I'll fix it in the next
version.

Thanks,
Ion

--
It is better to keep your mouth shut and be thought a fool,
than to open it and remove all doubt.

-
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/

\
 
 \ /
  Last update: 2005-03-22 12:56    [W:0.061 / U:0.944 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site