Skip to contentSkip to conversation

drivers: net: wwan: wwan_core.c: resolved spelling mistake

PATCH Superseded Muhammad Muzammil 2 participants 3 messages Oct 12, 2023

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

PATCH v2 1/1 drivers: net: wwan: wwan_core.c: resolved spelling mistake

resolved typing mistake from devce to device

changes since v1:
- resolved another typing mistake from concurent to concurrent

---
 drivers/net/wwan/wwan_core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/wwan/wwan_core.c +2 -2
index 87df60916960..72e01e550a16 100644
@@ -302,7 +302,7 @@ static void wwan_remove_dev(struct wwan_device *wwandev)
 
 static const struct {
 	const char * const name;	/* Port type name */
-	const char * const devsuf;	/* Port devce name suffix */
+	const char * const devsuf;	/* Port device name suffix */
 } wwan_port_types[WWAN_PORT_MAX + 1] = {
 	[WWAN_PORT_AT] = {
 		.name = "AT",
@@ -1184,7 +1184,7 @@ void wwan_unregister_ops(struct device *parent)
 	 */
 	put_device(&wwandev->dev);
 
-	rtnl_lock();	/* Prevent concurent netdev(s) creation/destroying */
+	rtnl_lock();	/* Prevent concurrent netdev(s) creation/destroying */
 
 	/* Remove all child netdev(s), using batch removing */
 	device_for_each_child(&wwandev->dev, &kill_list,
Signature · 1 line
2.27.0
#1 lore raw

Hi Simon,

I created the v2 patch but I do not know why it was not recognized. I have attached the patch file here.

Quoted 35 lines · Muhammad Muzammil

resolved typing mistake from devce to device

changes since v1:
- resolved another typing mistake from concurent to concurrent

---
 drivers/net/wwan/wwan_core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/wwan/wwan_core.c +2 -3
index 87df60916960..72e01e550a16 100644
@@ -302,7 +302,7 @@ static void wwan_remove_dev(struct wwan_device *wwandev)
 
 static const struct {
        const char * const name;        /* Port type name */
-       const char * const devsuf;      /* Port devce name suffix */
+       const char * const devsuf;      /* Port device name suffix */
 } wwan_port_types[WWAN_PORT_MAX + 1] = {
        [WWAN_PORT_AT] = {
                .name = "AT",
@@ -1184,7 +1184,7 @@ void wwan_unregister_ops(struct device *parent)
         */
        put_device(&wwandev->dev);
 
-       rtnl_lock();    /* Prevent concurent netdev(s) creation/destroying */
+       rtnl_lock();    /* Prevent concurrent netdev(s) creation/destroying */
 
        /* Remove all child netdev(s), using batch removing */
        device_for_each_child(&wwandev->dev, &kill_list,
--
Quoted 2 lines

2.27.0

From 028f68cec88cd013f443388e94f79aa6a3556a4b Mon Sep 17 00:00:00 2001
From: Muhammad Muzammil <[email protected]>
Date: Thu, 12 Oct 2023 09:25:49 +0500
Subject: [PATCH v2] drivers: net: wwan: wwan_core.c: resolved spelling mistake

resolved typing mistake from devce to device

changes since v1:
- resolved another typing mistake from concurent to concurrent

---
 drivers/net/wwan/wwan_core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/wwan/wwan_core.c +2 -2
index 87df60916960..72e01e550a16 100644
@@ -302,7 +302,7 @@ static void wwan_remove_dev(struct wwan_device *wwandev)
 
 static const struct {
 	const char * const name;	/* Port type name */
-	const char * const devsuf;	/* Port devce name suffix */
+	const char * const devsuf;	/* Port device name suffix */
 } wwan_port_types[WWAN_PORT_MAX + 1] = {
 	[WWAN_PORT_AT] = {
 		.name = "AT",
@@ -1184,7 +1184,7 @@ void wwan_unregister_ops(struct device *parent)
 	 */
 	put_device(&wwandev->dev);
 
-	rtnl_lock();	/* Prevent concurent netdev(s) creation/destroying */
+	rtnl_lock();	/* Prevent concurrent netdev(s) creation/destroying */
 
 	/* Remove all child netdev(s), using batch removing */
 	device_for_each_child(&wwandev->dev, &kill_list,
Signature · 1 line
2.27.0
#2 lore raw
In reply to Muhammad Muzammil

Hi Muhammad,

Quoted 4 lines · Muhammad Muzammil

resolved typing mistake from devce to device

changes since v1:

Change log should not be part of the commit message, simply drop the above line.

Quoted 5 lines

- resolved another typing mistake from concurent to concurrent

---

You can put your change log here, e.g:
v1: Fix 'concurrent' typo...

Quoted 28 lines
 drivers/net/wwan/wwan_core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/wwan/wwan_core.c +2 -3
index 87df60916960..72e01e550a16 100644
@@ -302,7 +302,7 @@ static void wwan_remove_dev(struct wwan_device *wwandev)
 
 static const struct {
        const char * const name;        /* Port type name */
-       const char * const devsuf;      /* Port devce name suffix */
+       const char * const devsuf;      /* Port device name suffix */
 } wwan_port_types[WWAN_PORT_MAX + 1] = {
        [WWAN_PORT_AT] = {
                .name = "AT",
@@ -1184,7 +1184,7 @@ void wwan_unregister_ops(struct device *parent)
         */
        put_device(&wwandev->dev);
 
-       rtnl_lock();    /* Prevent concurent netdev(s) creation/destroying */
+       rtnl_lock();    /* Prevent concurrent netdev(s) creation/destroying */
 
        /* Remove all child netdev(s), using batch removing */
        device_for_each_child(&wwandev->dev, &kill_list,
--

2.27.0