From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758186Ab2DZQnO (ORCPT ); Thu, 26 Apr 2012 12:43:14 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:64613 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756621Ab2DZQnM (ORCPT ); Thu, 26 Apr 2012 12:43:12 -0400 Date: Thu, 26 Apr 2012 09:43:08 -0700 From: Greg KH To: Guenter Roeck Cc: Ben Hutchings , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , "torvalds@linux-foundation.org" , "akpm@linux-foundation.org" , "alan@lxorguk.ukuu.org.uk" , Andre Przywara , Jean Delvare Subject: Re: [ 03/62] hwmon: fam15h_power: fix bogus values with current BIOSes Message-ID: <20120426164308.GA18682@kroah.com> References: <20120424223305.GA7748@kroah.com> <20120424223242.251771207@linuxfoundation.org> <20120425194506.GG3932@decadent.org.uk> <1335387002.18790.145.camel@groeck-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1335387002.18790.145.camel@groeck-laptop> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 25, 2012 at 01:50:02PM -0700, Guenter Roeck wrote: > On Wed, 2012-04-25 at 15:45 -0400, Ben Hutchings wrote: > > On Tue, Apr 24, 2012 at 03:32:44PM -0700, Greg KH wrote: > > > 3.3-stable review patch. If anyone has any objections, please let me know. > > [...] > > > +static void __devinit tweak_runavg_range(struct pci_dev *pdev) > > > +{ > > > + u32 val; > > > + const struct pci_device_id affected_device = { > > > + PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_15H_NB_F4) }; > > > + > > > + /* > > > + * let this quirk apply only to the current version of the > > > + * northbridge, since future versions may change the behavior > > > + */ > > > + if (!pci_match_id(&affected_device, pdev)) > > > + return; > > [...] > > > > pci_match_id() takes an *array* of IDs which must be properly zero- > > terminated. This change is bogus and should be fixed up before it > > goes into a stable update. > > Good catch. I sent a patch to fix this in mainline a minute ago. Is it in Linus's tree yet? If so, what's the git commit id? If not, I'll have to drop it from this release. thanks, greg k-h