[PATCH] alpha: Fix comment typo

Jason Wang posted 1 patch 4 years ago
There is a newer version of this series
arch/alpha/kernel/irq_i8259.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] alpha: Fix comment typo
Posted by Jason Wang 4 years ago
Remove one of the repeated 'and' in comment line 150.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
 arch/alpha/kernel/irq_i8259.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/alpha/kernel/irq_i8259.c b/arch/alpha/kernel/irq_i8259.c
index 1dcf0d9038fd..db574dcd6675 100644
--- a/arch/alpha/kernel/irq_i8259.c
+++ b/arch/alpha/kernel/irq_i8259.c
@@ -147,7 +147,7 @@ isa_no_iack_sc_device_interrupt(unsigned long vector)
 	 */
 	/* 
 	 *  The first read of gives you *all* interrupting lines.
-	 *  Therefore, read the mask register and and out those lines
+	 *  Therefore, read the mask register and out those lines
 	 *  not enabled.  Note that some documentation has 21 and a1 
 	 *  write only.  This is not true.
 	 */
-- 
2.35.1
Re: [PATCH] alpha: Fix comment typo
Posted by Joe Perches 4 years ago
On Sun, 2022-05-08 at 11:00 +0800, Jason Wang wrote:
> Remove one of the repeated 'and' in comment line 150.
[]
> diff --git a/arch/alpha/kernel/irq_i8259.c b/arch/alpha/kernel/irq_i8259.c
[]
> @@ -147,7 +147,7 @@ isa_no_iack_sc_device_interrupt(unsigned long vector)
>  	 */
>  	/* 
>  	 *  The first read of gives you *all* interrupting lines.
> -	 *  Therefore, read the mask register and and out those lines
> +	 *  Therefore, read the mask register and out those lines

Not really a repeated word but
perhaps s/and and/then and/

>  	 *  not enabled.  Note that some documentation has 21 and a1 
>  	 *  write only.  This is not true.
>  	 */
Re: [PATCH] alpha: Fix comment typo
Posted by Randy Dunlap 4 years ago

On 5/7/22 21:30, Joe Perches wrote:
> On Sun, 2022-05-08 at 11:00 +0800, Jason Wang wrote:
>> Remove one of the repeated 'and' in comment line 150.
> []
>> diff --git a/arch/alpha/kernel/irq_i8259.c b/arch/alpha/kernel/irq_i8259.c
> []
>> @@ -147,7 +147,7 @@ isa_no_iack_sc_device_interrupt(unsigned long vector)
>>  	 */
>>  	/* 
>>  	 *  The first read of gives you *all* interrupting lines.
>> -	 *  Therefore, read the mask register and and out those lines
>> +	 *  Therefore, read the mask register and out those lines

Looks to me like:                             and mask out those lines
> 
> Not really a repeated word but
> perhaps s/and and/then and/
> 
>>  	 *  not enabled.  Note that some documentation has 21 and a1 
>>  	 *  write only.  This is not true.
>>  	 */
> 
> 

-- 
~Randy