diff mbox

[oneiric/precise] UBUNTU: SAUCE: dell-wmi: Demote unknown WMI event message to pr_debug

Message ID 1323450483-19536-4-git-send-email-seth.forshee@canonical.com
State New
Headers show

Commit Message

Seth Forshee Dec. 9, 2011, 5:08 p.m. UTC
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@canonical.com>
---
 drivers/platform/x86/dell-wmi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Leann Ogasawara Dec. 9, 2011, 5:50 p.m. UTC | #1
Inserted BugLink and pushed to Precise master-next.

Thanks,
Leann

On Fri, 2011-12-09 at 11:08 -0600, Seth Forshee wrote:
> 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@canonical.com>
> ---
>  drivers/platform/x86/dell-wmi.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c
> index fa9a217..3ab412c 100644
> --- a/drivers/platform/x86/dell-wmi.c
> +++ b/drivers/platform/x86/dell-wmi.c
> @@ -165,7 +165,7 @@ 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)) {
> -			pr_info("Received unknown WMI event (0x%x)\n",
> +			pr_debug("Received unknown WMI event (0x%x)\n",
>  				buffer_entry[1]);
>  			kfree(obj);
>  			return;
> -- 
> 1.7.5.4
> 
>
diff mbox

Patch

diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c
index fa9a217..3ab412c 100644
--- a/drivers/platform/x86/dell-wmi.c
+++ b/drivers/platform/x86/dell-wmi.c
@@ -165,7 +165,7 @@  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)) {
-			pr_info("Received unknown WMI event (0x%x)\n",
+			pr_debug("Received unknown WMI event (0x%x)\n",
 				buffer_entry[1]);
 			kfree(obj);
 			return;