2022-08-31 01:04:01

by Jilin Yuan

[permalink] [raw]
Subject: [PATCH] powerpc/xive: fix repeated words in comments

Delete the redundant word 'set'.

Signed-off-by: Jilin Yuan <[email protected]>
---
arch/powerpc/sysdev/xive/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/sysdev/xive/common.c b/arch/powerpc/sysdev/xive/common.c
index 61b9f98dfd4a..a289cb97c1d7 100644
--- a/arch/powerpc/sysdev/xive/common.c
+++ b/arch/powerpc/sysdev/xive/common.c
@@ -783,7 +783,7 @@ static int xive_irq_set_type(struct irq_data *d, unsigned int flow_type)
* the corresponding descriptor bits mind you but those will in turn
* affect the resend function when re-enabling an edge interrupt.
*
- * Set set the default to edge as explained in map().
+ * Set the default to edge as explained in map().
*/
if (flow_type == IRQ_TYPE_DEFAULT || flow_type == IRQ_TYPE_NONE)
flow_type = IRQ_TYPE_EDGE_RISING;
--
2.36.1


2022-09-09 12:51:07

by Michael Ellerman

[permalink] [raw]
Subject: Re: [PATCH] powerpc/xive: fix repeated words in comments

On Wed, 31 Aug 2022 08:47:06 +0800, Jilin Yuan wrote:
> Delete the redundant word 'set'.
>
>

Applied to powerpc/next.

[1/1] powerpc/xive: fix repeated words in comments
https://git.kernel.org/powerpc/c/9b135eef0787813ad073aaeb9ff80ab57bc63e69

cheers