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

login
register
mail settings
Submitter Seth Forshee
Date Dec. 9, 2011, 5:08 p.m.
Message ID <1323450483-19536-4-git-send-email-seth.forshee@canonical.com>
Download mbox | patch
Permalink /patch/130434/
State New
Headers show

Comments

Seth Forshee - Dec. 9, 2011, 5:08 p.m.
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(-)
Leann Ogasawara - Dec. 9, 2011, 5:50 p.m.
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
> 
>

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;