Re: [PATCH] scsi: message: fusion: Fix comment typo

From: James Bottomley
Date: Tue Jul 19 2022 - 09:58:33 EST


On Sat, 2022-07-16 at 12:22 +0800, Jason Wang wrote:
> The double `only' is duplicated in the comment, remove one.
>
> Signed-off-by: Jason Wang <wangborong@xxxxxxxxxx>
> ---
> drivers/message/fusion/mptbase.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/message/fusion/mptbase.c
> b/drivers/message/fusion/mptbase.c
> index 9b3ba2df71c7..86e7510d7614 100644
> --- a/drivers/message/fusion/mptbase.c
> +++ b/drivers/message/fusion/mptbase.c
> @@ -518,7 +518,7 @@ mpt_reply(MPT_ADAPTER *ioc, u32 pa)
>
> /* Map DMA address of reply header to cpu address.
> * pa is 32 bits - but the dma address may be 32 or 64 bits
> - * get offset based only only the low addresses
> + * get offset based only the low addresses

What is the point of all this if you're not even going to read the
comment to make sure it makes grammatical sense? Neither the before
nor after versions do here.

James