linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scsi: message: fusion: Fix comment typo
@ 2022-07-16  4:22 Jason Wang
  2022-07-19 13:09 ` James Bottomley
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Wang @ 2022-07-16  4:22 UTC (permalink / raw)
  To: sreekanth.reddy
  Cc: sathya.prakash, suganath-prabu.subramani, MPT-FusionLinux.pdl,
	linux-scsi, linux-kernel, Jason Wang

The double `only' is duplicated in the comment, remove one.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
 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
 	 */
 
 	reply_dma_low = (pa <<= 1);
-- 
2.35.1


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

* Re: [PATCH] scsi: message: fusion: Fix comment typo
  2022-07-16  4:22 [PATCH] scsi: message: fusion: Fix comment typo Jason Wang
@ 2022-07-19 13:09 ` James Bottomley
  0 siblings, 0 replies; 3+ messages in thread
From: James Bottomley @ 2022-07-19 13:09 UTC (permalink / raw)
  To: Jason Wang, sreekanth.reddy
  Cc: sathya.prakash, suganath-prabu.subramani, MPT-FusionLinux.pdl,
	linux-scsi, linux-kernel

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@cdjrlc.com>
> ---
>  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



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

* [PATCH] scsi: message: fusion: Fix comment typo
@ 2022-08-04  1:06 Jason Wang
  0 siblings, 0 replies; 3+ messages in thread
From: Jason Wang @ 2022-08-04  1:06 UTC (permalink / raw)
  To: sreekanth.reddy
  Cc: sathya.prakash, suganath-prabu.subramani, MPT-FusionLinux.pdl,
	linux-scsi, linux-kernel, Jason Wang

The double `only' is typo in the comment, replace the second to `on'.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
 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 on the low addresses
 	 */
 
 	reply_dma_low = (pa <<= 1);
-- 
2.35.1


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

end of thread, other threads:[~2022-08-04  1:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-16  4:22 [PATCH] scsi: message: fusion: Fix comment typo Jason Wang
2022-07-19 13:09 ` James Bottomley
2022-08-04  1:06 Jason Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).