* [PATCH] ethernet/sfc: fix repeated words in comments
@ 2022-09-08 12:46 wangjianli
2022-09-08 16:07 ` Edward Cree
0 siblings, 1 reply; 2+ messages in thread
From: wangjianli @ 2022-09-08 12:46 UTC (permalink / raw)
To: davem, edumazet, kuba; +Cc: netdev, linux-kernel, wangjianli
Delete the redundant word 'in'.
Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
---
drivers/net/ethernet/sfc/bitfield.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/sfc/bitfield.h b/drivers/net/ethernet/sfc/bitfield.h
index 1f981dfe4bdc..0b502d1c3c9e 100644
--- a/drivers/net/ethernet/sfc/bitfield.h
+++ b/drivers/net/ethernet/sfc/bitfield.h
@@ -117,7 +117,7 @@ typedef union efx_oword {
*
* ( element ) << 4
*
- * The result will contain the relevant bits filled in in the range
+ * The result will contain the relevant bits filled in the range
* [0,high-low), with garbage in bits [high-low+1,...).
*/
#define EFX_EXTRACT_NATIVE(native_element, min, max, low, high) \
--
2.36.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ethernet/sfc: fix repeated words in comments
2022-09-08 12:46 [PATCH] ethernet/sfc: fix repeated words in comments wangjianli
@ 2022-09-08 16:07 ` Edward Cree
0 siblings, 0 replies; 2+ messages in thread
From: Edward Cree @ 2022-09-08 16:07 UTC (permalink / raw)
To: wangjianli, davem, edumazet, kuba; +Cc: netdev, linux-kernel
On 08/09/2022 13:46, wangjianli wrote:
> Delete the redundant word 'in'.
>
> Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
> ---
> drivers/net/ethernet/sfc/bitfield.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/sfc/bitfield.h b/drivers/net/ethernet/sfc/bitfield.h
> index 1f981dfe4bdc..0b502d1c3c9e 100644
> --- a/drivers/net/ethernet/sfc/bitfield.h
> +++ b/drivers/net/ethernet/sfc/bitfield.h
> @@ -117,7 +117,7 @@ typedef union efx_oword {
> *
> * ( element ) << 4
> *
> - * The result will contain the relevant bits filled in in the range
> + * The result will contain the relevant bits filled in the range
> * [0,high-low), with garbage in bits [high-low+1,...).
> */
> #define EFX_EXTRACT_NATIVE(native_element, min, max, low, high) \
>
Nack.
"filled in" is a phrasal verb, so the existing text is correct. Stet.
#ifdef RANT
NGL, getting kinda sick of these bogus comment text 'fixes' from people
who clearly don't have enough mastery of English to copyedit it.
(Previous one from this author was actually wrong too but I didn't catch
it at the time.)
English is a tricksy language, why would someone with a limited
understanding of it think that grammar fixes are the best use of their
time and energy?
I can't help suspecting that this is a box-ticking exercise, where a
certain corporate culture has a standard requirement that engineers
must get X number of Linux / opensource commits in order to get
promoted, and this kind of mindless patch is the easiest way for them
to achieve that.
#endif
-ed
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-08 16:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-08 12:46 [PATCH] ethernet/sfc: fix repeated words in comments wangjianli
2022-09-08 16:07 ` Edward Cree
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®