From: Andreas Mohr Subject: Re: [PATCH 2/2] acpi_pm.c: check for monotonicity Date: Mon, 18 Aug 2008 22:18:44 +0200 Message-ID: <20080818201844.GA3506@rhlx01.hs-esslingen.de> References: <20080818200017.GA11247@rhlx01.hs-esslingen.de> <20080810101730.GA10024@rhlx01.hs-esslingen.de> <20080810162920.GA9860@comet.dominikbrodowski.net> <20080810190759.GA1879@rhlx01.hs-esslingen.de> <20080818190325.GA12581@comet.dominikbrodowski.net> <20080818121924.6b61f7af.akpm@linux-foundation.org> <20080818193517.GA22097@isilmar.linta.de> <20080818124755.162f24d1.akpm@linux-foundation.org> <20080818200916.GA18209@comet.dominikbrodowski.net> <20080818201115.GC18209@comet.dominikbrodowski.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from rhlx01.hs-esslingen.de ([129.143.116.10]:43115 "EHLO rhlx01.hs-esslingen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753640AbYHRUSq (ORCPT ); Mon, 18 Aug 2008 16:18:46 -0400 Content-Disposition: inline In-Reply-To: <20080818201115.GC18209@comet.dominikbrodowski.net> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Dominik Brodowski , Andrew Morton , Andreas Mohr , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, john Hi, On Mon, Aug 18, 2008 at 10:11:15PM +0200, Dominik Brodowski wrote: > + if (good != 10) { > + printk(KERN_INFO "PM-Timer had no reasonable result:" > + " 0x%#llx - aborting.\n", value1); > + return -ENODEV; > } > - printk(KERN_INFO "PM-Timer had no reasonable result:" > - " 0x%#llx - aborting.\n", value1); > - return -ENODEV; Technically spoken this log message could now be considered partially outdated... (we're doing 10 evaluations after all, not one with a precise end result). Seeing a define for those several open-coded 10 loops values would be nice. Andreas Mohr