All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] block: fix a typo for skd_main.c
@ 2020-09-26  2:11 Wang Qing
  2020-09-28  2:57 ` Damien Le Moal
  0 siblings, 1 reply; 2+ messages in thread
From: Wang Qing @ 2020-09-26  2:11 UTC (permalink / raw)
  To: Damien Le Moal, Jens Axboe, linux-block, linux-kernel; +Cc: Wang Qing

Modify the comment typo: "compliment" -> "complement".

Signed-off-by: Wang Qing <wangqing@vivo.com>
---
 drivers/block/skd_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/block/skd_main.c b/drivers/block/skd_main.c
index ae6454c..e70e764
--- a/drivers/block/skd_main.c
+++ b/drivers/block/skd_main.c
@@ -2037,7 +2037,7 @@ static void skd_enable_interrupts(struct skd_device *skdev)
 	val = FIT_ISH_FW_STATE_CHANGE +
 	      FIT_ISH_COMPLETION_POSTED + FIT_ISH_MSG_FROM_DEV;
 
-	/* Note that the compliment of mask is written. A 1-bit means
+	/* Note that the complement of mask is written. A 1-bit means
 	 * disable, a 0 means enable. */
 	SKD_WRITEL(skdev, ~val, FIT_INT_MASK_HOST);
 	dev_dbg(&skdev->pdev->dev, "interrupt mask=0x%x\n", ~val);
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] block: fix a typo for skd_main.c
  2020-09-26  2:11 [PATCH] block: fix a typo for skd_main.c Wang Qing
@ 2020-09-28  2:57 ` Damien Le Moal
  0 siblings, 0 replies; 2+ messages in thread
From: Damien Le Moal @ 2020-09-28  2:57 UTC (permalink / raw)
  To: Wang Qing, Jens Axboe, linux-block

On 2020/09/26 11:12, Wang Qing wrote:
> Modify the comment typo: "compliment" -> "complement".
> 
> Signed-off-by: Wang Qing <wangqing@vivo.com>
> ---
>  drivers/block/skd_main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/block/skd_main.c b/drivers/block/skd_main.c
> index ae6454c..e70e764
> --- a/drivers/block/skd_main.c
> +++ b/drivers/block/skd_main.c
> @@ -2037,7 +2037,7 @@ static void skd_enable_interrupts(struct skd_device *skdev)
>  	val = FIT_ISH_FW_STATE_CHANGE +
>  	      FIT_ISH_COMPLETION_POSTED + FIT_ISH_MSG_FROM_DEV;
>  
> -	/* Note that the compliment of mask is written. A 1-bit means
> +	/* Note that the complement of mask is written. A 1-bit means
>  	 * disable, a 0 means enable. */
>  	SKD_WRITEL(skdev, ~val, FIT_INT_MASK_HOST);
>  	dev_dbg(&skdev->pdev->dev, "interrupt mask=0x%x\n", ~val);
> 

Looks good.

Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>

-- 
Damien Le Moal
Western Digital Research

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-28  2:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-26  2:11 [PATCH] block: fix a typo for skd_main.c Wang Qing
2020-09-28  2:57 ` Damien Le Moal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.