[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070426142108.44988793@the-village.bc.nu>
Date: Thu, 26 Apr 2007 14:21:08 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Dave Jones <davej@...hat.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sworks-agp: Switch to PCI ref counting APIs
On Thu, 26 Apr 2007 00:20:19 -0400
Dave Jones <davej@...hat.com> wrote:
> On Wed, Apr 25, 2007 at 07:21:58PM -0700, Andrew Morton wrote:
> > On Mon, 23 Apr 2007 14:51:29 +0100 Alan Cox <alan@...rguk.ukuu.org.uk> wrote:
> >
> > > {
> > > struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
> > >
> > > + pci_dev_put(bridge->dev);
> > > agp_remove_bridge(bridge);
> > > agp_put_bridge(bridge);
> > > + pci_dev_put(serverworks_private.svrwrks_dev)
> > > + serverworks_private.svrwrks_dev = NULL;
> >
> > err, guys?
>
> ? One put for the agp bridge, one for the host bridge.
> What am I missing?
Nothing - I assume Andrew was referring the bizarre way one of the
devices is global and one is per structure ?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists