linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/6] staging: wfx/main.h: fix a spelling and grammar mistake
@ 2020-08-20  8:49 Suraj Upadhyay
  2020-08-20  8:50 ` [PATCH 2/6] staging: wfx/main.c: Fix a spelling mistake "negociate" => "negotiate" Suraj Upadhyay
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Suraj Upadhyay @ 2020-08-20  8:49 UTC (permalink / raw)
  To: jerome.pouiller, gregkh; +Cc: linux-kernel, kernel-janitors

Fix spelling mistake "extention" => "extension".
And correct the statement in passive-voice by adding "be".

Signed-off-by: Suraj Upadhyay <usuraj35@gmail.com>
---
 drivers/staging/wfx/main.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/wfx/main.h b/drivers/staging/wfx/main.h
index c59d375dd3ad..2457cb595b0f 100644
--- a/drivers/staging/wfx/main.h
+++ b/drivers/staging/wfx/main.h
@@ -19,7 +19,7 @@ struct wfx_dev;
 struct hwbus_ops;
 
 struct wfx_platform_data {
-	/* Keyset and ".sec" extention will appended to this string */
+	/* Keyset and ".sec" extension will be appended to this string */
 	const char *file_fw;
 	const char *file_pds;
 	struct gpio_desc *gpio_wakeup;
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/6] staging: wfx/main.c: Fix a spelling mistake "negociate" => "negotiate"
  2020-08-20  8:49 [PATCH 1/6] staging: wfx/main.h: fix a spelling and grammar mistake Suraj Upadhyay
@ 2020-08-20  8:50 ` Suraj Upadhyay
  2020-08-20  8:50 ` [PATCH 3/6] staging: wfx/data_rx.c: Fix spelling mistake "negociation" => "negotiation" Suraj Upadhyay
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Suraj Upadhyay @ 2020-08-20  8:50 UTC (permalink / raw)
  To: jerome.pouiller, gregkh; +Cc: linux-kernel, kernel-janitors

Signed-off-by: Suraj Upadhyay <usuraj35@gmail.com>
---
 drivers/staging/wfx/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/wfx/main.c b/drivers/staging/wfx/main.c
index 11dfa088fc86..4263f912760b 100644
--- a/drivers/staging/wfx/main.c
+++ b/drivers/staging/wfx/main.c
@@ -384,7 +384,7 @@ int wfx_probe(struct wfx_dev *wdev)
 	err = wfx_sl_init(wdev);
 	if (err && wdev->hw_caps.capabilities.link_mode == SEC_LINK_ENFORCED) {
 		dev_err(wdev->dev,
-			"chip require secure_link, but can't negociate it\n");
+			"chip require secure_link, but can't negotiate it\n");
 		goto err0;
 	}
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 3/6] staging: wfx/data_rx.c: Fix spelling mistake "negociation" => "negotiation"
  2020-08-20  8:49 [PATCH 1/6] staging: wfx/main.h: fix a spelling and grammar mistake Suraj Upadhyay
  2020-08-20  8:50 ` [PATCH 2/6] staging: wfx/main.c: Fix a spelling mistake "negociate" => "negotiate" Suraj Upadhyay
@ 2020-08-20  8:50 ` Suraj Upadhyay
  2020-08-20  8:50 ` [PATCH 4/6] staging: wfx/debug.c: Fix spelling mistake "carefull" => "careful" Suraj Upadhyay
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Suraj Upadhyay @ 2020-08-20  8:50 UTC (permalink / raw)
  To: jerome.pouiller, gregkh; +Cc: linux-kernel, kernel-janitors

Signed-off-by: Suraj Upadhyay <usuraj35@gmail.com>
---
 drivers/staging/wfx/data_rx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/wfx/data_rx.c b/drivers/staging/wfx/data_rx.c
index 6fb078880742..7fcbbfc53416 100644
--- a/drivers/staging/wfx/data_rx.c
+++ b/drivers/staging/wfx/data_rx.c
@@ -73,7 +73,7 @@ void wfx_rx_cb(struct wfx_vif *wvif,
 	if (arg->rx_flags.encryp)
 		hdr->flag |= RX_FLAG_DECRYPTED;
 
-	// Block ack negociation is offloaded by the firmware. However,
+	// Block ack negotiation is offloaded by the firmware. However,
 	// re-ordering must be done by the mac80211.
 	if (ieee80211_is_action(frame->frame_control) &&
 	    mgmt->u.action.category == WLAN_CATEGORY_BACK &&
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 4/6] staging: wfx/debug.c: Fix spelling mistake "carefull" => "careful"
  2020-08-20  8:49 [PATCH 1/6] staging: wfx/main.h: fix a spelling and grammar mistake Suraj Upadhyay
  2020-08-20  8:50 ` [PATCH 2/6] staging: wfx/main.c: Fix a spelling mistake "negociate" => "negotiate" Suraj Upadhyay
  2020-08-20  8:50 ` [PATCH 3/6] staging: wfx/data_rx.c: Fix spelling mistake "negociation" => "negotiation" Suraj Upadhyay
@ 2020-08-20  8:50 ` Suraj Upadhyay
  2020-08-20  9:13   ` Jérôme Pouiller
  2020-08-20  8:51 ` [PATCH 5/6] staging: wfx/hif_rx.c: Fix spelling mistake "negociation" => "negotiation" Suraj Upadhyay
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 9+ messages in thread
From: Suraj Upadhyay @ 2020-08-20  8:50 UTC (permalink / raw)
  To: jerome.pouiller, gregkh; +Cc: linux-kernel, kernel-janitors

Signed-off-by: Suraj Upadhyay <usuraj35@gmail.com>
---
 drivers/staging/wfx/debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/wfx/debug.c b/drivers/staging/wfx/debug.c
index 3f1712b7c919..5772e2375370 100644
--- a/drivers/staging/wfx/debug.c
+++ b/drivers/staging/wfx/debug.c
@@ -299,7 +299,7 @@ static ssize_t wfx_send_hif_msg_read(struct file *file, char __user *user_buf,
 		return ret;
 	if (context->ret < 0)
 		return context->ret;
-	// Be carefull, write() is waiting for a full message while read()
+	// Be careful, write() is waiting for a full message while read()
 	// only return a payload
 	if (copy_to_user(user_buf, context->reply, count))
 		return -EFAULT;
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 5/6] staging: wfx/hif_rx.c: Fix spelling mistake "negociation" => "negotiation"
  2020-08-20  8:49 [PATCH 1/6] staging: wfx/main.h: fix a spelling and grammar mistake Suraj Upadhyay
                   ` (2 preceding siblings ...)
  2020-08-20  8:50 ` [PATCH 4/6] staging: wfx/debug.c: Fix spelling mistake "carefull" => "careful" Suraj Upadhyay
@ 2020-08-20  8:51 ` Suraj Upadhyay
  2020-08-20  9:11   ` Jérôme Pouiller
  2020-08-20  8:51 ` [PATCH 6/6] staging: wfx/hif_tx.c: Fix spelling mistake "carefull" => "careful" Suraj Upadhyay
  2020-08-20  9:17 ` [PATCH 1/6] staging: wfx/main.h: fix a spelling and grammar mistake Jérôme Pouiller
  5 siblings, 1 reply; 9+ messages in thread
From: Suraj Upadhyay @ 2020-08-20  8:51 UTC (permalink / raw)
  To: jerome.pouiller, gregkh; +Cc: linux-kernel, kernel-janitors

Signed-off-by: Suraj Upadhyay <usuraj35@gmail.com>
---
 drivers/staging/wfx/hif_rx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/wfx/hif_rx.c b/drivers/staging/wfx/hif_rx.c
index cc7c0cf226ba..1d32973d8ec1 100644
--- a/drivers/staging/wfx/hif_rx.c
+++ b/drivers/staging/wfx/hif_rx.c
@@ -118,7 +118,7 @@ static int hif_keys_indication(struct wfx_dev *wdev,
 
 	// SL_PUB_KEY_EXCHANGE_STATUS_SUCCESS is used by legacy secure link
 	if (body->status && body->status != HIF_STATUS_SLK_NEGO_SUCCESS)
-		dev_warn(wdev->dev, "secure link negociation error\n");
+		dev_warn(wdev->dev, "secure link negotiation error\n");
 	memcpy(pubkey, body->ncp_pub_key, sizeof(pubkey));
 	memreverse(pubkey, sizeof(pubkey));
 	wfx_sl_check_pubkey(wdev, pubkey, body->ncp_pub_key_mac);
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 6/6] staging: wfx/hif_tx.c: Fix spelling mistake "carefull" => "careful"
  2020-08-20  8:49 [PATCH 1/6] staging: wfx/main.h: fix a spelling and grammar mistake Suraj Upadhyay
                   ` (3 preceding siblings ...)
  2020-08-20  8:51 ` [PATCH 5/6] staging: wfx/hif_rx.c: Fix spelling mistake "negociation" => "negotiation" Suraj Upadhyay
@ 2020-08-20  8:51 ` Suraj Upadhyay
  2020-08-20  9:17 ` [PATCH 1/6] staging: wfx/main.h: fix a spelling and grammar mistake Jérôme Pouiller
  5 siblings, 0 replies; 9+ messages in thread
From: Suraj Upadhyay @ 2020-08-20  8:51 UTC (permalink / raw)
  To: jerome.pouiller, gregkh; +Cc: linux-kernel, kernel-janitors

Signed-off-by: Suraj Upadhyay <usuraj35@gmail.com>
---
 drivers/staging/wfx/hif_tx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/wfx/hif_tx.c b/drivers/staging/wfx/hif_tx.c
index 5110f9b93762..fc12f9dcefce 100644
--- a/drivers/staging/wfx/hif_tx.c
+++ b/drivers/staging/wfx/hif_tx.c
@@ -125,7 +125,7 @@ int wfx_cmd_send(struct wfx_dev *wdev, struct hif_msg *request,
 
 // This function is special. After HIF_REQ_ID_SHUT_DOWN, chip won't reply to any
 // request anymore. We need to slightly hack struct wfx_hif_cmd for that job. Be
-// carefull to only call this funcion during device unregister.
+// careful to only call this function during device unregister.
 int hif_shutdown(struct wfx_dev *wdev)
 {
 	int ret;
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH 5/6] staging: wfx/hif_rx.c: Fix spelling mistake "negociation" => "negotiation"
  2020-08-20  8:51 ` [PATCH 5/6] staging: wfx/hif_rx.c: Fix spelling mistake "negociation" => "negotiation" Suraj Upadhyay
@ 2020-08-20  9:11   ` Jérôme Pouiller
  0 siblings, 0 replies; 9+ messages in thread
From: Jérôme Pouiller @ 2020-08-20  9:11 UTC (permalink / raw)
  To: gregkh, Suraj Upadhyay; +Cc: linux-kernel, kernel-janitors

Hello Suraj,

Thank you for your contribution.

On Thursday 20 August 2020 10:51:27 CEST Suraj Upadhyay wrote:
> 
> Signed-off-by: Suraj Upadhyay <usuraj35@gmail.com>

Even for a small change, you have to fill the commit log body.

> ---
>  drivers/staging/wfx/hif_rx.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/wfx/hif_rx.c b/drivers/staging/wfx/hif_rx.c
> index cc7c0cf226ba..1d32973d8ec1 100644
> --- a/drivers/staging/wfx/hif_rx.c
> +++ b/drivers/staging/wfx/hif_rx.c
> @@ -118,7 +118,7 @@ static int hif_keys_indication(struct wfx_dev *wdev,
> 
>         // SL_PUB_KEY_EXCHANGE_STATUS_SUCCESS is used by legacy secure link
>         if (body->status && body->status != HIF_STATUS_SLK_NEGO_SUCCESS)
> -               dev_warn(wdev->dev, "secure link negociation error\n");
> +               dev_warn(wdev->dev, "secure link negotiation error\n");

This change is already in the staging tree. See commit c9638363f02d
("staging: wfx: fix a handful of spelling mistakes").

Globally, if you post changes for drivers/staging you should rebase your
work on the staging tree before to send it. You can use the script
get_maintainer.pl to get this information:

    $ ./scripts/get_maintainer.pl --scm drivers/staging/wfx
    [...]
    git git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git

-- 
Jérôme Pouiller



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 4/6] staging: wfx/debug.c: Fix spelling mistake "carefull" => "careful"
  2020-08-20  8:50 ` [PATCH 4/6] staging: wfx/debug.c: Fix spelling mistake "carefull" => "careful" Suraj Upadhyay
@ 2020-08-20  9:13   ` Jérôme Pouiller
  0 siblings, 0 replies; 9+ messages in thread
From: Jérôme Pouiller @ 2020-08-20  9:13 UTC (permalink / raw)
  To: gregkh, Suraj Upadhyay; +Cc: linux-kernel, kernel-janitors

On Thursday 20 August 2020 10:50:57 CEST Suraj Upadhyay wrote:
> 
> Signed-off-by: Suraj Upadhyay <usuraj35@gmail.com>
> ---
>  drivers/staging/wfx/debug.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/wfx/debug.c b/drivers/staging/wfx/debug.c
> index 3f1712b7c919..5772e2375370 100644
> --- a/drivers/staging/wfx/debug.c
> +++ b/drivers/staging/wfx/debug.c
> @@ -299,7 +299,7 @@ static ssize_t wfx_send_hif_msg_read(struct file *file, char __user *user_buf,
>                 return ret;
>         if (context->ret < 0)
>                 return context->ret;
> -       // Be carefull, write() is waiting for a full message while read()
> +       // Be careful, write() is waiting for a full message while read()

Already fixed by commit c9638363f02d ("staging: wfx: fix a handful of
spelling mistakes").

-- 
Jérôme Pouiller



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/6] staging: wfx/main.h: fix a spelling and grammar mistake
  2020-08-20  8:49 [PATCH 1/6] staging: wfx/main.h: fix a spelling and grammar mistake Suraj Upadhyay
                   ` (4 preceding siblings ...)
  2020-08-20  8:51 ` [PATCH 6/6] staging: wfx/hif_tx.c: Fix spelling mistake "carefull" => "careful" Suraj Upadhyay
@ 2020-08-20  9:17 ` Jérôme Pouiller
  5 siblings, 0 replies; 9+ messages in thread
From: Jérôme Pouiller @ 2020-08-20  9:17 UTC (permalink / raw)
  To: gregkh, Suraj Upadhyay; +Cc: linux-kernel, kernel-janitors

On Thursday 20 August 2020 10:49:33 CEST Suraj Upadhyay wrote:
> 
> Fix spelling mistake "extention" => "extension".
> And correct the statement in passive-voice by adding "be".
> 
> Signed-off-by: Suraj Upadhyay <usuraj35@gmail.com>
> ---
>  drivers/staging/wfx/main.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/wfx/main.h b/drivers/staging/wfx/main.h
> index c59d375dd3ad..2457cb595b0f 100644
> --- a/drivers/staging/wfx/main.h
> +++ b/drivers/staging/wfx/main.h
> @@ -19,7 +19,7 @@ struct wfx_dev;
>  struct hwbus_ops;
> 
>  struct wfx_platform_data {
> -       /* Keyset and ".sec" extention will appended to this string */
> +       /* Keyset and ".sec" extension will be appended to this string */

Already fixed by commit c9638363f02d ("staging: wfx: fix a handful of
spelling mistakes"). But, I am sure there still are spell mistakes in code
of wfx driver :)


-- 
Jérôme Pouiller



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-08-20  9:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-20  8:49 [PATCH 1/6] staging: wfx/main.h: fix a spelling and grammar mistake Suraj Upadhyay
2020-08-20  8:50 ` [PATCH 2/6] staging: wfx/main.c: Fix a spelling mistake "negociate" => "negotiate" Suraj Upadhyay
2020-08-20  8:50 ` [PATCH 3/6] staging: wfx/data_rx.c: Fix spelling mistake "negociation" => "negotiation" Suraj Upadhyay
2020-08-20  8:50 ` [PATCH 4/6] staging: wfx/debug.c: Fix spelling mistake "carefull" => "careful" Suraj Upadhyay
2020-08-20  9:13   ` Jérôme Pouiller
2020-08-20  8:51 ` [PATCH 5/6] staging: wfx/hif_rx.c: Fix spelling mistake "negociation" => "negotiation" Suraj Upadhyay
2020-08-20  9:11   ` Jérôme Pouiller
2020-08-20  8:51 ` [PATCH 6/6] staging: wfx/hif_tx.c: Fix spelling mistake "carefull" => "careful" Suraj Upadhyay
2020-08-20  9:17 ` [PATCH 1/6] staging: wfx/main.h: fix a spelling and grammar mistake Jérôme Pouiller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).