* [PATCH] alpha: irq_i8259: drop unexpected word 'and' in the comments
@ 2022-06-22 14:02 Jiang Jian
2022-06-22 14:08 ` Conor.Dooley
0 siblings, 1 reply; 3+ messages in thread
From: Jiang Jian @ 2022-06-22 14:02 UTC (permalink / raw)
To: rth, ink, mattst88; +Cc: linux-alpha, linux-kernel, Jiang Jian
there is an unexpected word 'and' in the comments that need to be dropped
file: arch/alpha/kernel/irq_i8259.c
line: 150
* Therefore, read the mask register and and out those lines
changed to:
* Therefore, read the mask register and and out those lines
Signed-off-by: Jiang Jian <jiangjian@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.17.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] alpha: irq_i8259: drop unexpected word 'and' in the comments
2022-06-22 14:02 [PATCH] alpha: irq_i8259: drop unexpected word 'and' in the comments Jiang Jian
@ 2022-06-22 14:08 ` Conor.Dooley
[not found] ` <tencent_6EA3802C352872BC44FBD555@qq.com>
0 siblings, 1 reply; 3+ messages in thread
From: Conor.Dooley @ 2022-06-22 14:08 UTC (permalink / raw)
To: jiangjian, rth, ink, mattst88; +Cc: linux-alpha, linux-kernel
On 22/06/2022 15:02, Jiang Jian wrote:
> there is an unexpected word 'and' in the comments that need to be dropped
>
> file: arch/alpha/kernel/irq_i8259.c
> line: 150
>
> * Therefore, read the mask register and and out those lines
>
> changed to:
>
> * Therefore, read the mask register and and out those lines
>
> Signed-off-by: Jiang Jian <jiangjian@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
This does not look like a typo? Surely the second and means the
operator? Maybe it could be reworded for more clarity to something
like "and mask out", but the initial meaning looks sane
Thanks,
Conor.
> * not enabled. Note that some documentation has 21 and a1
> * write only. This is not true.
> */
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-06-22 14:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-22 14:02 [PATCH] alpha: irq_i8259: drop unexpected word 'and' in the comments Jiang Jian
2022-06-22 14:08 ` Conor.Dooley
[not found] ` <tencent_6EA3802C352872BC44FBD555@qq.com>
2022-06-22 14:28 ` 回复:[PATCH] " Conor.Dooley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®