Re: [PATCH v2] drivers: net: wwan: wwan_core.c: resolved spelling mistake

From: Muhammad Muzammil
Date: Thu Oct 12 2023 - 02:18:06 EST


Hi Simon,

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

On Thu, Oct 12, 2023 at 9:35 AM Muhammad Muzammil
<m.muzzammilashraf@xxxxxxxxx> wrote:
>
> resolved typing mistake from devce to device
>
> changes since v1:
> - resolved another typing mistake from concurent to
> concurrent
>
> Signed-off-by: Muhammad Muzammil <m.muzzammilashraf@xxxxxxxxx>
> ---
> drivers/net/wwan/wwan_core.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/wwan/wwan_core.c b/drivers/net/wwan/wwan_core.c
> index 87df60916960..72e01e550a16 100644
> --- a/drivers/net/wwan/wwan_core.c
> +++ b/drivers/net/wwan/wwan_core.c
> @@ -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
>
From 028f68cec88cd013f443388e94f79aa6a3556a4b Mon Sep 17 00:00:00 2001
From: Muhammad Muzammil <m.muzzammilashraf@xxxxxxxxx>
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

Signed-off-by: Muhammad Muzammil <m.muzzammilashraf@xxxxxxxxx>
---
drivers/net/wwan/wwan_core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wwan/wwan_core.c b/drivers/net/wwan/wwan_core.c
index 87df60916960..72e01e550a16 100644
--- a/drivers/net/wwan/wwan_core.c
+++ b/drivers/net/wwan/wwan_core.c
@@ -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