Skip to contentSkip to conversation

staging: pi433: Fixes minor typo errors

PATCH In review Harsha Sharma 2 participants 4 messages Sep 8, 2017 – Sep 10, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v6 1/1 staging: pi433: Fixes minor typo errors

Fixes checkpatch warning -- "occured" and "succesfully" are misspelled

---
Changes in v6:
-Added changes from other versions
Changes in v5:
-Signed-off properly with correct author name in .gitconfig
Changes in v4:
-Correct the format of the subject.
-Signed-off with same author name and signed-off name
Changes in v3:
-Added space after : and removed file extension from subject

 drivers/staging/pi433/pi433_if.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/pi433/pi433_if.c +2 -2
index 6b9b7df..6a10478 100644
@@ -473,7 +473,7 @@ struct pi433_instance {
 	}
 
 
-	/* rx done, wait was interrupted or error occured */
+	/* rx done, wait was interrupted or error occurred */
 abort:
 	dev->interrupt_rx_allowed = true;
 	SET_CHECKED(rf69_set_mode(dev->spi, standby));
@@ -1033,7 +1033,7 @@ static int setup_GPIOs(struct pi433_device *device)
 		if (retval)
 			return retval;
 
-		dev_dbg(&device->spi->dev, "%s succesfully configured", name);
+		dev_dbg(&device->spi->dev, "%s successfully configured", name);
 	}
 
 	return 0;
Signature · 1 line
1.9.1
#1 lore raw

Hello,
I have tried to follow above given instructions but please correct me if I am wrong somewhere.
Sorry for inconvenience and thanks for your valuable time.

With regards,
Harsha Sharma

Quoted 45 lines · Harsha Sharma

Fixes checkpatch warning -- "occured" and "succesfully" are misspelled

---
Changes in v6:
-Added changes from other versions
Changes in v5:
-Signed-off properly with correct author name in .gitconfig
Changes in v4:
-Correct the format of the subject.
-Signed-off with same author name and signed-off name
Changes in v3:
-Added space after : and removed file extension from subject

 drivers/staging/pi433/pi433_if.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/pi433/pi433_if.c +2 -2
index 6b9b7df..6a10478 100644
@@ -473,7 +473,7 @@ struct pi433_instance {
        }
 
 
-       /* rx done, wait was interrupted or error occured */
+       /* rx done, wait was interrupted or error occurred */
 abort:
        dev->interrupt_rx_allowed = true;
        SET_CHECKED(rf69_set_mode(dev->spi, standby));
@@ -1033,7 +1033,7 @@ static int setup_GPIOs(struct pi433_device *device)
                if (retval)
                        return retval;
 
-               dev_dbg(&device->spi->dev, "%s succesfully configured",
 name);
+               dev_dbg(&device->spi->dev, "%s successfully configured",
 name);
        }
        return 0;

--
1.9.1

maintainer
#2 lore raw
Quoted 3 lines · Harsha Sharma

Hello,
I have tried to follow above given instructions but please correct me if I am wrong somewhere.

What "above given instructions"?

And please fix your email client to not send html email, it is getting rejected by the mailing lists.

greg k-h

#3 lore raw
Quoted 5 lines · gregkh
Quoted 2 lines · Harsha Sharma

Hello,
I have tried to follow above given instructions but please correct me if

I am

Quoted 9 lines
Quoted 1 line

wrong somewhere.

What "above given instructions"?

And please fix your email client to not send html email, it is getting rejected by the mailing lists.

greg k-h

I have added the changes from other versions and changed the format of subject and log message as suggested .
Thanks for your time.

Regards,
Harsha Sharma