Message ID | 20220716042245.35708-1-wangborong@cdjrlc.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | scsi: message: fusion: Fix comment typo | expand |
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
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);
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(-)