Skip to contentSkip to conversation

net: wwan: iosm: fix uevent reporting

PATCH Applied M Chetan Kumar 2 participants 2 messages Jul 1, 2021

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

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

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

---
v2: no change.

---
 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
#1 lore raw
This series was applied to netdev/net.git (refs/heads/master):

Hello:

This series was applied to netdev/net.git (refs/heads/master):

Quoted 8 lines · On Thu, 1 Jul 2021 20:37:06 +0530 you wrote:

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

---
v2: no change.

[...]

Here is the summary with links:
- [V2,1/5] net: wwan: iosm: fix uevent reporting

    https://git.kernel.org/netdev/net/c/856a5c97268d
  - [V2,2/5] net: wwan: iosm: remove reduandant check
    https://git.kernel.org/netdev/net/c/3bcfc0a2d319
  - [V2,3/5] net: wwan: iosm: correct link-id handling
    https://git.kernel.org/netdev/net/c/5bb4eea0c5f5
  - [V2,4/5] net: wwan: iosm: fix netdev tx stats
    https://git.kernel.org/netdev/net/c/c302e3a1c86f
  - [V2,5/5] net: wwan: iosm: set default mtu
    https://git.kernel.org/netdev/net/c/d7340f46beae

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html