2023-12-28 10:16:16

by Ghanshyam Agrawal

[permalink] [raw]
Subject: [PATCH v2 0/3] 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(-)

--
2.25.1



2023-12-28 10:16:17

by Ghanshyam Agrawal

[permalink] [raw]
Subject: [PATCH v2 2/3] powerpc/eeh: Add full stop to fix a grammatical error

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

Suggested-by: Michael Ellerman <[email protected]>
Signed-off-by: Ghanshyam Agrawal <[email protected]>
---
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(-)

diff --git a/arch/powerpc/kernel/eeh_pe.c b/arch/powerpc/kernel/eeh_pe.c
index 8e0c1a8b8641..77d05740977a 100644
--- a/arch/powerpc/kernel/eeh_pe.c
+++ b/arch/powerpc/kernel/eeh_pe.c
@@ -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)
{
--
2.25.1


2023-12-28 10:16:25

by Ghanshyam Agrawal

[permalink] [raw]
Subject: [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

Signed-off-by: Ghanshyam Agrawal <[email protected]>
---
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(-)

diff --git a/arch/powerpc/include/asm/eeh.h b/arch/powerpc/include/asm/eeh.h
index 514dd056c2c8..91a9fd53254f 100644
--- a/arch/powerpc/include/asm/eeh.h
+++ b/arch/powerpc/include/asm/eeh.h
@@ -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 */
diff --git a/arch/powerpc/kernel/eeh_pe.c b/arch/powerpc/kernel/eeh_pe.c
index e0ce81279624..8e0c1a8b8641 100644
--- a/arch/powerpc/kernel/eeh_pe.c
+++ b/arch/powerpc/kernel/eeh_pe.c
@@ -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)
{
--
2.25.1


2023-12-28 10:16:47

by Ghanshyam Agrawal

[permalink] [raw]
Subject: [PATCH v2 3/3] powerpc/eeh: Add the units of size param in the description

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

Suggested-by: Michael Ellerman <[email protected]>
Signed-off-by: Ghanshyam Agrawal <[email protected]>
---
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(-)

diff --git a/arch/powerpc/kernel/eeh_pe.c b/arch/powerpc/kernel/eeh_pe.c
index 77d05740977a..2038454ce864 100644
--- a/arch/powerpc/kernel/eeh_pe.c
+++ b/arch/powerpc/kernel/eeh_pe.c
@@ -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.
*/
--
2.25.1


2024-05-08 13:47:36

by Michael Ellerman

[permalink] [raw]
Subject: Re: [PATCH v2 0/3] Fix typos, grammatical errors and add units of function param

On Thu, 28 Dec 2023 15:45:17 +0530, Ghanshyam Agrawal wrote:
> 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