Re: [PATCH] block: fix a typo for skd_main.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020/09/26 11:12, Wang Qing wrote:
> Modify the comment typo: "compliment" -> "complement".
> 
> Signed-off-by: Wang Qing <wangqing@xxxxxxxx>
> ---
>  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@xxxxxxx>

-- 
Damien Le Moal
Western Digital Research




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux