From patchwork Fri Dec 9 17:08:02 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [natty] UBUNTU: SAUCE: dell-wmi: Demote unknown WMI event message to pr_debug Date: Fri, 09 Dec 2011 07:08:02 -0000 From: Seth Forshee X-Patchwork-Id: 130433 Message-Id: <1323450483-19536-3-git-send-email-seth.forshee@canonical.com> To: kernel-team@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 77f1d55..6535749 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 @@ -153,8 +155,8 @@ static void dell_wmi_notify(u32 value, void *context) 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; }