From patchwork Fri Dec 9 17:08:01 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Seth Forshee X-Patchwork-Id: 130432 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id AF1EF1007DD for ; Sat, 10 Dec 2011 04:08:20 +1100 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1RZ3vd-0001wZ-JO; Fri, 09 Dec 2011 17:08:09 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1RZ3vb-0001wK-Cp for kernel-team@lists.ubuntu.com; Fri, 09 Dec 2011 17:08:07 +0000 Received: from 64-126-113-183.dyn.everestkc.net ([64.126.113.183] helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1RZ3vb-0008K1-44 for kernel-team@lists.ubuntu.com; Fri, 09 Dec 2011 17:08:07 +0000 From: Seth Forshee To: kernel-team@lists.ubuntu.com Subject: [PATCH][maverick] UBUNTU: SAUCE: dell-wmi: Demote unknown WMI event message to pr_debug Date: Fri, 9 Dec 2011 11:08:01 -0600 Message-Id: <1323450483-19536-2-git-send-email-seth.forshee@canonical.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1323450483-19536-1-git-send-email-seth.forshee@canonical.com> References: <1323450483-19536-1-git-send-email-seth.forshee@canonical.com> X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com This message is informational in nature but is causing users to think that there's a problem. Demote to pr_debug to silence it by default. Signed-off-by: Seth Forshee --- drivers/platform/x86/dell-wmi.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c index 12a8e6f..34cc102 100644 --- a/drivers/platform/x86/dell-wmi.c +++ b/drivers/platform/x86/dell-wmi.c @@ -23,6 +23,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include #include #include @@ -215,8 +217,8 @@ static void dell_wmi_notify(u32 value, void *context) int reported_key; u16 *buffer_entry = (u16 *)obj->buffer.pointer; if (dell_new_hk_type && (buffer_entry[1] != 0x10)) { - printk(KERN_INFO "dell-wmi: Received unknown WMI event" - " (0x%x)\n", buffer_entry[1]); + pr_debug("Received unknown WMI event (0x%x)\n", + buffer_entry[1]); kfree(obj); return; }