From patchwork Thu Aug 19 09:50:48 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiri Slaby X-Patchwork-Id: 120327 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o7J9otsu005925 for ; Thu, 19 Aug 2010 09:50:55 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752181Ab0HSJuy (ORCPT ); Thu, 19 Aug 2010 05:50:54 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:47404 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750902Ab0HSJux (ORCPT ); Thu, 19 Aug 2010 05:50:53 -0400 Received: by bwz11 with SMTP id 11so1010201bwz.19 for ; Thu, 19 Aug 2010 02:50:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=rzQy7JSwDF2TN6UQqdGt6vO+Qif7c+CACj05PaPrkNE=; b=FE7YiesH2YME3pv1niU30VlY2iV3V9MNgw58l8sYjHCJYoHPyYzqqboaARbhyHZIG9 X6+Kg3N03yq3F89k7/OxMwk8ua+GNX92rxkhmbnf0XdBZ6piLIIUl1Bwi7QKSnrQn24F nDZWNald7XHpX7GClRmmhMmUZA4S3L2qyAals= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=kUeTpfLi63dojHrEkJVVkFv9TtYxV+QQEoeqMmrQMIrCbk9icZzSFI2BfMJidydxmn MD76KlpSBusovAnOomXZs80oSqCGWTIZoufCukCS0pxiyZz34MET8DfJuB8MU2N7qCX8 DfLYFoqHiToYwS9xpfJxiY5TY7+IPrUh4+XpI= Received: by 10.204.30.200 with SMTP id v8mr6380018bkc.190.1282211451634; Thu, 19 Aug 2010 02:50:51 -0700 (PDT) Received: from [192.168.2.149] ([217.66.174.142]) by mx.google.com with ESMTPS id s34sm956689bkk.1.2010.08.19.02.50.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 19 Aug 2010 02:50:50 -0700 (PDT) Message-ID: <4C6CFE78.7030809@suse.cz> Date: Thu, 19 Aug 2010 11:50:48 +0200 From: Jiri Slaby User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; cs-CZ; rv:1.9.2.8) Gecko/20100802 SUSE/3.1.2 Thunderbird/3.1.2 MIME-Version: 1.0 CC: "x86@kernel.org" , clemens@ladisch.de, venki@google.com, bob.picco@hp.com, Ingo Molnar , "linux-acpi@vger.kernel.org" Subject: Re: HPET+PAT causes "bad page state" References: <4C68FCBC.5020208@suse.cz> <4C691837.9060106@suse.cz> In-Reply-To: <4C691837.9060106@suse.cz> X-Enigmail-Version: 1.1.2 To: unlisted-recipients:; (no To-header on input) Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 19 Aug 2010 09:50:55 +0000 (UTC) --- a/drivers/char/hpet.c +++ b/drivers/char/hpet.c @@ -1017,6 +1017,8 @@ static int hpet_acpi_add(struct acpi_device *device) return -ENODEV; if (!data.hd_address || !data.hd_nirqs) { + if (data.hd_address) + iounmap(data.hd_address); printk("%s: no address or irqs in _CRS\n", __func__); return -ENODEV; }