Skip to contentSkip to conversation

net: wwan: iosm: fix uevent reporting

PATCH Superseded M Chetan Kumar 1 participant 1 message Jun 30, 2021

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 net: wwan: iosm: fix uevent reporting

Change uevent env variable name to IOSM_EVENT & correct reporting format to key=value.

---
 drivers/net/wwan/iosm/iosm_ipc_uevent.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wwan/iosm/iosm_ipc_uevent.c +1 -1
index 2229d752926c..d12188ffed7e 100644
@@ -37,7 +37,7 @@ void ipc_uevent_send(struct device *dev, char *uevent)
 
 	/* Store the device and event information */
 	info->dev = dev;
-	snprintf(info->uevent, MAX_UEVENT_LEN, "%s: %s", dev_name(dev), uevent);
+	snprintf(info->uevent, MAX_UEVENT_LEN, "IOSM_EVENT=%s", uevent);
 
 	/* Schedule uevent in process context using work queue */
 	schedule_work(&info->work);
Signature · 1 line
2.25.1