Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 10 Jul 2001 13:24:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 10 Jul 2001 13:24:17 -0400 Received: from age.cs.columbia.edu ([128.59.22.100]:62215 "EHLO age.cs.columbia.edu") by vger.kernel.org with ESMTP id ; Tue, 10 Jul 2001 13:24:09 -0400 Date: Tue, 10 Jul 2001 10:24:00 -0700 (PDT) From: Ion Badulescu To: Jeff Garzik cc: Linus Torvalds , Alan Cox , Subject: Re: [PATCH] starfire net driver update In-Reply-To: <3B4B3209.40F5519F@mandrakesoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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/