From patchwork Mon Aug 17 12:45:39 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frans Pop X-Patchwork-Id: 42029 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n7HCjiVa018085 for ; Mon, 17 Aug 2009 12:45:44 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750926AbZHQMpl (ORCPT ); Mon, 17 Aug 2009 08:45:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753829AbZHQMpl (ORCPT ); Mon, 17 Aug 2009 08:45:41 -0400 Received: from cpsmtpm-eml104.kpnxchange.com ([195.121.3.8]:55393 "EHLO CPSMTPM-EML104.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750926AbZHQMpk (ORCPT ); Mon, 17 Aug 2009 08:45:40 -0400 Received: from aragorn.fjphome.nl ([77.166.180.99]) by CPSMTPM-EML104.kpnxchange.com with Microsoft SMTPSVC(7.0.6001.18000); Mon, 17 Aug 2009 14:45:40 +0200 From: Frans Pop To: linux-acpi@vger.kernel.org Subject: [PATCH 2/2] ACPI processor: remove superfluous warning message Date: Mon, 17 Aug 2009 14:45:39 +0200 User-Agent: KMail/1.9.9 Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, lenb@intel.com, rui.zhang@intel.com References: <200908171443.35622.elendil@planet.nl> In-Reply-To: <200908171443.35622.elendil@planet.nl> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200908171445.40785.elendil@planet.nl> X-OriginalArrivalTime: 17 Aug 2009 12:45:40.0550 (UTC) FILETIME=[A089DE60:01CA1F38] Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org This failure is very common on many platforms. Handling it in the ACPI processor driver is enough, and we don't need a warning message unless CONFIG_ACPI_DEBUG is set. Based on a patch from Zhang Rui. http://bugzilla.kernel.org/show_bug.cgi?id=13389 Signed-off-by: Frans Pop Acked-by: Zhang Rui --- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/acpi/processor_throttling.c b/drivers/acpi/processor_throttling.c index 841be4e..ae39797 100644 --- a/drivers/acpi/processor_throttling.c +++ b/drivers/acpi/processor_throttling.c @@ -840,8 +840,8 @@ static int acpi_processor_get_throttling_ptc(struct acpi_processor *pr) if (ret >= 0) { state = acpi_get_throttling_state(pr, value); if (state == -1) { - ACPI_WARNING((AE_INFO, - "Invalid throttling state, reset")); + ACPI_DEBUG_PRINT((ACPI_DB_INFO, + "Invalid throttling state, reset\n")); state = 0; ret = acpi_processor_set_throttling(pr, state, true); if (ret)