Skip to contentSkip to conversation

Fix typos, grammatical errors and add units of function param

PATCH Applied Ghanshyam Agrawal 2 participants 5 messages Dec 28, 2023 – May 8, 2024

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

v2 cover Fix typos, grammatical errors and add units of function param

This patch series fixes spelling mistake in the word "auxillary", fixes a grammatical error related to full stop and adds the units of the size param in the description of eeh_set_pe_aux_size function.

Ghanshyam Agrawal (3):
powerpc/eeh: Fix spelling of the word "auxillary" powerpc/eeh: Add full stop to fix a grammatical error powerpc/eeh: Add the units of size param in the description

 arch/powerpc/include/asm/eeh.h | 2 +-
 arch/powerpc/kernel/eeh_pe.c   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
2.25.1
#1 lore raw

PATCH v2 1/3 powerpc/eeh: Fix spelling of the word "auxillary"

Fixed spelling of the word "auxillary" in
arch/powerpc/kernel/eeh_pe.c and
arch/powerpc/include/asm/eeh.h

---
V2:
Updated commit message and description

V1:
Fixed spelling mistake in the word "auxillary"

 arch/powerpc/include/asm/eeh.h | 2 +-
 arch/powerpc/kernel/eeh_pe.c   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
arch/powerpc/include/asm/eeh.h +1 -1
index 514dd056c2c8..91a9fd53254f 100644
@@ -82,7 +82,7 @@ struct eeh_pe {
 	int false_positives;		/* Times of reported #ff's	*/
 	atomic_t pass_dev_cnt;		/* Count of passed through devs	*/
 	struct eeh_pe *parent;		/* Parent PE			*/
-	void *data;			/* PE auxillary data		*/
+	void *data;			/* PE auxiliary data		*/
 	struct list_head child_list;	/* List of PEs below this PE	*/
 	struct list_head child;		/* Memb. child_list/eeh_phb_pe	*/
 	struct list_head edevs;		/* List of eeh_dev in this PE	*/
arch/powerpc/kernel/eeh_pe.c +3 -3
index e0ce81279624..8e0c1a8b8641 100644
@@ -24,10 +24,10 @@ static int eeh_pe_aux_size = 0;
 static LIST_HEAD(eeh_phb_pe);
 
 /**
- * eeh_set_pe_aux_size - Set PE auxillary data size
- * @size: PE auxillary data size
+ * eeh_set_pe_aux_size - Set PE auxiliary data size
+ * @size: PE auxiliary data size
  *
- * Set PE auxillary data size
+ * Set PE auxiliary data size
  */
 void eeh_set_pe_aux_size(int size)
 {
Signature · 1 line
2.25.1
#2 lore raw

PATCH v2 2/3 powerpc/eeh: Add full stop to fix a grammatical error

In reply to Ghanshyam Agrawal

Add a full stop at the end of one of the sentences to fix the grammatical error.

---
V2:
Added full stop to fix a grammatical error

V1:
This change was suggested in V1.

 arch/powerpc/kernel/eeh_pe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/kernel/eeh_pe.c +1 -1
index 8e0c1a8b8641..77d05740977a 100644
@@ -27,7 +27,7 @@ static LIST_HEAD(eeh_phb_pe);
  * eeh_set_pe_aux_size - Set PE auxiliary data size
  * @size: PE auxiliary data size
  *
- * Set PE auxiliary data size
+ * Set PE auxiliary data size.
  */
 void eeh_set_pe_aux_size(int size)
 {
Signature · 1 line
2.25.1
#3 lore raw

PATCH v2 3/3 powerpc/eeh: Add the units of size param in the description

In reply to Ghanshyam Agrawal

Add the units of the size param in eeh_set_pe_aux_size function description.

---
V2:
Added the units of size param in the function description

V1:
This change was suggested in V1.

 arch/powerpc/kernel/eeh_pe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/kernel/eeh_pe.c +1 -1
index 77d05740977a..2038454ce864 100644
@@ -25,7 +25,7 @@ static LIST_HEAD(eeh_phb_pe);
 
 /**
  * eeh_set_pe_aux_size - Set PE auxiliary data size
- * @size: PE auxiliary data size
+ * @size: PE auxiliary data size in bytes
  *
  * Set PE auxiliary data size.
  */
Signature · 1 line
2.25.1
#4 lore raw
In reply to Ghanshyam Agrawal
Quoted 10 lines · Ghanshyam Agrawal

This patch series fixes spelling mistake in the word "auxillary", fixes a grammatical error related to full stop and adds the units of the size param in the description of eeh_set_pe_aux_size function.

Ghanshyam Agrawal (3):
powerpc/eeh: Fix spelling of the word "auxillary" powerpc/eeh: Add full stop to fix a grammatical error powerpc/eeh: Add the units of size param in the description

[...]

Applied to powerpc/next.

[1/3] powerpc/eeh: Fix spelling of the word "auxillary"

      https://git.kernel.org/powerpc/c/39434af10f1045b50826b8b506415f36681d4b40

[2/3] powerpc/eeh: Add full stop to fix a grammatical error
(squashed)
[3/3] powerpc/eeh: Add the units of size param in the description
(squashed)

cheers