ACK: [PATCH 1/1] drivers: thermal: processor_thermal: Downgrade error message

Connor Kuehl connor.kuehl at canonical.com
Mon Jul 8 23:44:23 UTC 2019


On 7/5/19 2:50 PM, Colin King wrote:
> From: Srinivas Pandruvada <srinivas.pandruvada at linux.intel.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1824690
> 
> Downgrade "Unsupported event" message from dev_err to dev_dbg. Otherwise it
> floods with this message one some platforms.
> 
> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada at linux.intel.com>
> Signed-off-by: Zhang Rui <rui.zhang at intel.com>
> (backported from commit 44c0c23725a16c8803b8809b87651405e8741e4d)
> Signed-off-by: Colin Ian King <colin.king at canonical.com>

Acked-by: Connor Kuehl <connor.kuehl at canonical.com>


> ---
>  drivers/thermal/int340x_thermal/processor_thermal_device.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/thermal/int340x_thermal/processor_thermal_device.c b/drivers/thermal/int340x_thermal/processor_thermal_device.c
> index 80bbf9ce2fb6..ad1522b6f830 100644
> --- a/drivers/thermal/int340x_thermal/processor_thermal_device.c
> +++ b/drivers/thermal/int340x_thermal/processor_thermal_device.c
> @@ -266,7 +266,7 @@ static void proc_thermal_notify(acpi_handle handle, u32 event, void *data)
>  				THERMAL_DEVICE_POWER_CAPABILITY_CHANGED);
>  		break;
>  	default:
> -		dev_err(proc_priv->dev, "Unsupported event [0x%x]\n", event);
> +		dev_dbg(proc_priv->dev, "Unsupported event [0x%x]\n", event);
>  		break;
>  	}
>  }
> 




More information about the kernel-team mailing list