2022-06-23 11:09:16

by Jiang Jian

[permalink] [raw]
Subject: [PATCH] s390/dasd: drop unexpected word 'for' in comments

there is an unexpected word 'for' in the comments that need to be dropped

file - drivers/s390/block/dasd.c
line - 1728

/* check for for attention message */

changed to:

/* check for attention message */

Signed-off-by: Jiang Jian <[email protected]>
---
drivers/s390/block/dasd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/s390/block/dasd.c b/drivers/s390/block/dasd.c
index ba6d78789660..35b94aa02f15 100644
--- a/drivers/s390/block/dasd.c
+++ b/drivers/s390/block/dasd.c
@@ -1725,7 +1725,7 @@ void dasd_int_handler(struct ccw_device *cdev, unsigned long intparm,
dasd_put_device(device);
}

- /* check for for attention message */
+ /* check for attention message */
if (scsw_dstat(&irb->scsw) & DEV_STAT_ATTENTION) {
device = dasd_device_from_cdev_locked(cdev);
if (!IS_ERR(device)) {
--
2.17.1


2022-06-28 12:59:34

by Stefan Haberland

[permalink] [raw]
Subject: Re: [PATCH] s390/dasd: drop unexpected word 'for' in comments

Am 23.06.22 um 12:21 schrieb Jiang Jian:
> there is an unexpected word 'for' in the comments that need to be dropped
>
> file - drivers/s390/block/dasd.c
> line - 1728
>
> /* check for for attention message */
>
> changed to:
>
> /* check for attention message */
>
> Signed-off-by: Jiang Jian <[email protected]>
> ---

applied, thanks