2022-07-18 14:34:57

by Jason Wang

[permalink] [raw]
Subject: [PATCH] s390/tape: Fix comment typo

The double `that' is duplicated in line 551, remove one.

Signed-off-by: Jason Wang <[email protected]>
---
drivers/s390/char/tape_34xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/s390/char/tape_34xx.c b/drivers/s390/char/tape_34xx.c
index 38cc1565d6ae..751945fb6793 100644
--- a/drivers/s390/char/tape_34xx.c
+++ b/drivers/s390/char/tape_34xx.c
@@ -548,7 +548,7 @@ tape_34xx_unit_check(struct tape_device *device, struct tape_request *request,
case 0x2e:
/*
* Not capable. This indicates either that the drive fails
- * reading the format id mark or that that format specified
+ * reading the format id mark or that format specified
* is not supported by the drive.
*/
dev_warn (&device->cdev->dev, "The tape unit cannot process "
--
2.35.1


2022-07-19 18:55:46

by Alexander Gordeev

[permalink] [raw]
Subject: Re: [PATCH] s390/tape: Fix comment typo

On Fri, Jul 15, 2022 at 01:38:38PM +0800, Jason Wang wrote:
> The double `that' is duplicated in line 551, remove one.
>
> Signed-off-by: Jason Wang <[email protected]>
> ---
> drivers/s390/char/tape_34xx.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/s390/char/tape_34xx.c b/drivers/s390/char/tape_34xx.c
> index 38cc1565d6ae..751945fb6793 100644
> --- a/drivers/s390/char/tape_34xx.c
> +++ b/drivers/s390/char/tape_34xx.c
> @@ -548,7 +548,7 @@ tape_34xx_unit_check(struct tape_device *device, struct tape_request *request,
> case 0x2e:
> /*
> * Not capable. This indicates either that the drive fails
> - * reading the format id mark or that that format specified
> + * reading the format id mark or that format specified
> * is not supported by the drive.
> */
> dev_warn (&device->cdev->dev, "The tape unit cannot process "

Applied, thanks!