2022-09-08 13:28:22

by wangjianli

[permalink] [raw]
Subject: [PATCH] sfc/siena: fix repeated words in comments

Delete the redundant word 'in'.

Signed-off-by: wangjianli <[email protected]>
---
drivers/net/ethernet/sfc/siena/bitfield.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/sfc/siena/bitfield.h b/drivers/net/ethernet/sfc/siena/bitfield.h
index 1f981dfe4bdc..0b502d1c3c9e 100644
--- a/drivers/net/ethernet/sfc/siena/bitfield.h
+++ b/drivers/net/ethernet/sfc/siena/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


2022-09-08 16:40:36

by Edward Cree

[permalink] [raw]
Subject: Re: [PATCH] sfc/siena: fix repeated words in comments

On 08/09/2022 13:44, wangjianli wrote:
> Delete the redundant word 'in'.
>
> Signed-off-by: wangjianli <[email protected]>
> ---
> drivers/net/ethernet/sfc/siena/bitfield.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/sfc/siena/bitfield.h b/drivers/net/ethernet/sfc/siena/bitfield.h
> index 1f981dfe4bdc..0b502d1c3c9e 100644
> --- a/drivers/net/ethernet/sfc/siena/bitfield.h
> +++ b/drivers/net/ethernet/sfc/siena/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, as per my other response on the main sfc patch.
-ed