Unverified Commit e6e15830 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!11927 hwmon: (hp-wmi-sensors) Check if WMI event data exists

parents c9fe32fe 7eb969e0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1637,6 +1637,8 @@ static void hp_wmi_notify(u32 value, void *context)
		goto out_unlock;

	wobj = out.pointer;
	if (!wobj)
		goto out_unlock;

	err = populate_event_from_wobj(dev, &event, wobj);
	if (err) {