2022-06-22 14:33:43

by Jiang Jian

[permalink] [raw]
Subject: [PATCH] s390/sclp: Fix typo in comments

Remove the repeated word 'and' from comments

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

diff --git a/drivers/s390/char/sclp.c b/drivers/s390/char/sclp.c
index cb2491761958..ae1d6ee382a5 100644
--- a/drivers/s390/char/sclp.c
+++ b/drivers/s390/char/sclp.c
@@ -60,7 +60,7 @@ static LIST_HEAD(sclp_reg_list);
/* List of queued requests. */
static LIST_HEAD(sclp_req_queue);

-/* Data for read and and init requests. */
+/* Data for read and init requests. */
static struct sclp_req sclp_read_req;
static struct sclp_req sclp_init_req;
static void *sclp_read_sccb;
--
2.17.1


2022-06-23 15:29:32

by Kees Cook

[permalink] [raw]
Subject: Re: [PATCH] s390/sclp: Fix typo in comments

On Wed, Jun 22, 2022 at 10:27:13PM +0800, Jiang Jian wrote:
> Remove the repeated word 'and' from comments
>
> Signed-off-by: Jiang Jian <[email protected]>

Reviewed-by: Kees Cook <[email protected]>

--
Kees Cook

2022-06-28 12:47:18

by Alexander Gordeev

[permalink] [raw]
Subject: Re: [PATCH] s390/sclp: Fix typo in comments

On Wed, Jun 22, 2022 at 10:27:13PM +0800, Jiang Jian wrote:
> Remove the repeated word 'and' from comments
>
> Signed-off-by: Jiang Jian <[email protected]>
> ---
> drivers/s390/char/sclp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/s390/char/sclp.c b/drivers/s390/char/sclp.c
> index cb2491761958..ae1d6ee382a5 100644
> --- a/drivers/s390/char/sclp.c
> +++ b/drivers/s390/char/sclp.c
> @@ -60,7 +60,7 @@ static LIST_HEAD(sclp_reg_list);
> /* List of queued requests. */
> static LIST_HEAD(sclp_req_queue);
>
> -/* Data for read and and init requests. */
> +/* Data for read and init requests. */
> static struct sclp_req sclp_read_req;
> static struct sclp_req sclp_init_req;
> static void *sclp_read_sccb;

Applied, thanks!