From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: Regression in module wmi since 2.6.32 (bisected to commit 1caab3c) Date: Fri, 25 Dec 2009 17:36:18 -0800 Message-ID: <20091226013618.GB23802@core.coreip.homeip.net> References: <4B352513.90302@lwfinger.net> <200912252158.31127.carlos@strangeworlds.co.uk> <4B353818.1020308@lwfinger.net> <200912260118.26391.carlos@strangeworlds.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-px0-f189.google.com ([209.85.216.189]:62281 "EHLO mail-px0-f189.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757057AbZLZBgc (ORCPT ); Fri, 25 Dec 2009 20:36:32 -0500 Content-Disposition: inline In-Reply-To: <200912260118.26391.carlos@strangeworlds.co.uk> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Carlos Corbacho Cc: Larry Finger , Matthew Garrett , LKML , Linus Torvalds , Linux ACPI Hi Carlos, On Sat, Dec 26, 2009 at 01:18:26AM +0000, Carlos Corbacho wrote: > @@ -747,6 +763,16 @@ static __init acpi_status parse_wdg(acpi_handle handle) > memcpy(gblock, obj->buffer.pointer, obj->buffer.length); > > for (i = 0; i < total; i++) { > + /* > + Some WMI devices, like those for nVidia hooks, have a > + duplicate GUID. It's not clear what we should do in this > + case yet, so for now, we'll just ignore the duplicate. > + Anyone who wants to add support for that device can come > + up with a better workaround for the mess then. > + */ > + if (guid_already_parsed(gblock[i].guid) == true) { A warning message is probably warranted here. > + continue; > + } > wblock = kzalloc(sizeof(struct wmi_block), GFP_KERNEL); > if (!wblock) > return AE_NO_MEMORY; -- Dmitry