2022-10-28 13:49:25

by Jilin Yuan

[permalink] [raw]
Subject: [PATCH] scsi: NCR5380: fix repeated words in comments

Delete the redundant word 'the'.

Signed-off-by: Jilin Yuan <[email protected]>
---
drivers/scsi/NCR5380.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/NCR5380.c b/drivers/scsi/NCR5380.c
index dece7d9eb4d3..ca85bddb582b 100644
--- a/drivers/scsi/NCR5380.c
+++ b/drivers/scsi/NCR5380.c
@@ -858,7 +858,7 @@ static void NCR5380_dma_complete(struct Scsi_Host *instance)
* latency, but a bus reset will reset chip logic. Checking for parity error
* is unnecessary because that interrupt is never enabled. A Loss of BSY
* condition will clear DMA Mode. We can tell when this occurs because the
- * the Busy Monitor interrupt is enabled together with DMA Mode.
+ * Busy Monitor interrupt is enabled together with DMA Mode.
*/

static irqreturn_t __maybe_unused NCR5380_intr(int irq, void *dev_id)
--
2.36.1



2022-10-28 22:39:27

by Finn Thain

[permalink] [raw]
Subject: Re: [PATCH] scsi: NCR5380: fix repeated words in comments

On Fri, 28 Oct 2022, Jilin Yuan wrote:

> Delete the redundant word 'the'.
>
> Signed-off-by: Jilin Yuan <[email protected]>

Acked-by: Finn Thain <[email protected]>

> ---
> drivers/scsi/NCR5380.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/scsi/NCR5380.c b/drivers/scsi/NCR5380.c
> index dece7d9eb4d3..ca85bddb582b 100644
> --- a/drivers/scsi/NCR5380.c
> +++ b/drivers/scsi/NCR5380.c
> @@ -858,7 +858,7 @@ static void NCR5380_dma_complete(struct Scsi_Host *instance)
> * latency, but a bus reset will reset chip logic. Checking for parity error
> * is unnecessary because that interrupt is never enabled. A Loss of BSY
> * condition will clear DMA Mode. We can tell when this occurs because the
> - * the Busy Monitor interrupt is enabled together with DMA Mode.
> + * Busy Monitor interrupt is enabled together with DMA Mode.
> */
>
> static irqreturn_t __maybe_unused NCR5380_intr(int irq, void *dev_id)
>

2022-11-17 18:35:58

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH] scsi: NCR5380: fix repeated words in comments

On Fri, 28 Oct 2022 21:37:08 +0800, Jilin Yuan wrote:

> Delete the redundant word 'the'.
>
>

Applied to 6.2/scsi-queue, thanks!

[1/1] scsi: NCR5380: fix repeated words in comments
https://git.kernel.org/mkp/scsi/c/e47c49219c1e

--
Martin K. Petersen Oracle Linux Engineering