From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754697AbXDZE0X (ORCPT ); Thu, 26 Apr 2007 00:26:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754701AbXDZE0X (ORCPT ); Thu, 26 Apr 2007 00:26:23 -0400 Received: from mx1.redhat.com ([66.187.233.31]:39588 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754699AbXDZE0W (ORCPT ); Thu, 26 Apr 2007 00:26:22 -0400 Date: Thu, 26 Apr 2007 00:26:17 -0400 From: Dave Jones To: Andrew Morton Cc: Alan Cox , linux-kernel@vger.kernel.org Subject: Re: [PATCH] sworks-agp: Switch to PCI ref counting APIs Message-ID: <20070426042617.GC11278@redhat.com> Mail-Followup-To: Dave Jones , Andrew Morton , Alan Cox , linux-kernel@vger.kernel.org References: <20070423145129.1cfcd1f2@the-village.bc.nu> <20070425192158.8787a248.akpm@linux-foundation.org> <20070426042019.GA11278@redhat.com> <20070425212339.f16f9d7f.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070425212339.f16f9d7f.akpm@linux-foundation.org> User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 25, 2007 at 09:23:39PM -0700, Andrew Morton wrote: > On Thu, 26 Apr 2007 00:20:19 -0400 Dave Jones 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 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? > > > > a semicolon. Yow. I thought I build tested that. I'll regenerate the git tree tomorrow. Same goes for the cpufreq tree with the acpi fixup. Thanks. Dave -- http://www.codemonkey.org.uk