2024-04-09 12:08:44

by topcat

[permalink] [raw]
Subject: [PATCH] Fixed spelling mistake

---
drivers/staging/nvec/nvec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
index 282a664c9176..b4485b10beb8 100644
--- a/drivers/staging/nvec/nvec.c
+++ b/drivers/staging/nvec/nvec.c
@@ -712,7 +712,7 @@ static irqreturn_t nvec_interrupt(int irq, void *dev)
* TODO: replace the udelay with a read back after each writel above
* in order to work around a hardware issue, see i2c-tegra.c
*
- * Unfortunately, this change causes an intialisation issue with the
+ * Unfortunately, this change causes an initialisation issue with the
* touchpad, which needs to be fixed first.
*/
udelay(100);
--
2.43.0



2024-04-09 12:43:33

by Dan Carpenter

[permalink] [raw]
Subject: Re: [PATCH] Fixed spelling mistake

1) Fix your From header. Use your real name like signing a legal
document.
2) Use the subsystem prefix in the subject
3) Add a commit message
4) Add a Signed-off-by-line
5) Run scripts/checkpatch.pl on your patch

https://staticthinking.wordpress.com/2022/07/27/how-to-send-a-v2-patch/

regards,
dan carpenter


2024-04-09 13:23:16

by Nam Cao

[permalink] [raw]
Subject: Re: [PATCH] Fixed spelling mistake

On 09/Apr/2024 topcat wrote:
> ---
> drivers/staging/nvec/nvec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
> index 282a664c9176..b4485b10beb8 100644
> --- a/drivers/staging/nvec/nvec.c
> +++ b/drivers/staging/nvec/nvec.c
> @@ -712,7 +712,7 @@ static irqreturn_t nvec_interrupt(int irq, void *dev)
> * TODO: replace the udelay with a read back after each writel above
> * in order to work around a hardware issue, see i2c-tegra.c
> *
> - * Unfortunately, this change causes an intialisation issue with the
> + * Unfortunately, this change causes an initialisation issue with the
> * touchpad, which needs to be fixed first.
> */
> udelay(100);

A patch has already been sent to fix the exact same problem:
https://lore.kernel.org/linux-staging/[email protected]/T/#u

Best regards,
Nam