[PATCH][natty] UBUNTU: SAUCE: dell-wmi: Demote unknown WMI event message to pr_debug
Seth Forshee
seth.forshee at canonical.com
Fri Dec 9 17:08:02 UTC 2011
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 <seth.forshee at canonical.com>
---
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 <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
@@ -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;
}
--
1.7.5.4
More information about the kernel-team
mailing list