From patchwork Mon Mar 22 19:08:09 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chase Douglas X-Patchwork-Id: 87488 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2MJ8FIw029565 for ; Mon, 22 Mar 2010 19:08:16 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753703Ab0CVTIP (ORCPT ); Mon, 22 Mar 2010 15:08:15 -0400 Received: from adelie.canonical.com ([91.189.90.139]:43446 "EHLO adelie.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752661Ab0CVTIO (ORCPT ); Mon, 22 Mar 2010 15:08:14 -0400 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1Ntmyz-0006y2-Q8; Mon, 22 Mar 2010 19:08:13 +0000 Received: from cpe-75-180-27-10.columbus.res.rr.com ([75.180.27.10] helo=canonical.com) by hutte.canonical.com with esmtpsa (TLS-1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1Ntmyz-0007Cw-H0; Mon, 22 Mar 2010 19:08:13 +0000 From: Chase Douglas To: linux-acpi@vger.kernel.org Cc: Len Brown Subject: [PATCH] Reduce ACPI resource conflict message to KERN_INFO, printf cleanup Date: Mon, 22 Mar 2010 15:08:09 -0400 Message-Id: <1269284889-3968-1-git-send-email-chase.douglas@ubuntu.com> X-Mailer: git-send-email 1.6.3.3 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]); Mon, 22 Mar 2010 19:08:16 +0000 (UTC) diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 02e8464..33a01cb 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c @@ -1151,16 +1151,10 @@ int acpi_check_resource_conflict(const struct resource *res) if (clash) { if (acpi_enforce_resources != ENFORCE_RESOURCES_NO) { - printk("%sACPI: %s resource %s [0x%llx-0x%llx]" - " conflicts with ACPI region %s" - " [0x%llx-0x%llx]\n", - acpi_enforce_resources == ENFORCE_RESOURCES_LAX - ? KERN_WARNING : KERN_ERR, - ioport ? "I/O" : "Memory", res->name, - (long long) res->start, (long long) res->end, - res_list_elem->name, - (long long) res_list_elem->start, - (long long) res_list_elem->end); + printk(KERN_INFO "ACPI: resource %s %pR" + " conflicts with ACPI region %s %pR\n", + res->name, res, res_list_elem->name, + res_list_elem); if (acpi_enforce_resources == ENFORCE_RESOURCES_LAX) printk(KERN_NOTICE "ACPI: This conflict may" " cause random problems and system"