Skip to contentSkip to conversation

thermal/int3400_thermal: lower the log level for unsupported event

PATCH New Zhang Rui 1 participant 1 message Apr 22, 2019 Thermal

lore
Share & tools
lore

Zhang Rui

author reviewer
#0 lore raw

PATCH 1/1 thermal/int3400_thermal: lower the log level for unsupported event

Unsupported events for processor thermal device are seen on some machines. Lower the log level so that it won't bother users.

---
 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/intel/int340x_thermal/processor_thermal_device.c +1 -1
index 2a7cbaa..857c4eb 100644
@@ -265,7 +265,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_notice(proc_priv->dev, "Unsupported event [0x%x]\n", event);
 		break;
 	}
 }
Signature · 1 line
2.7.4