[PATCH] s390/sclp: Fix typo in comments

Jiang Jian posted 1 patch 3 years, 10 months ago
drivers/s390/char/sclp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] s390/sclp: Fix typo in comments
Posted by Jiang Jian 3 years, 10 months ago
Remove the repeated word 'and' from comments

Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>
---
 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
Re: [PATCH] s390/sclp: Fix typo in comments
Posted by Alexander Gordeev 3 years, 9 months ago
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 <jiangjian@cdjrlc.com>
> ---
>  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!
Re: [PATCH] s390/sclp: Fix typo in comments
Posted by Kees Cook 3 years, 10 months ago
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 <jiangjian@cdjrlc.com>

Reviewed-by: Kees Cook <keescook@chromium.org>

-- 
Kees Cook