[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240702071739.GA606788@kernel.org>
Date: Tue, 2 Jul 2024 08:17:39 +0100
From: Simon Horman <horms@...nel.org>
To: Lorenzo Bianconi <lorenzo@...nel.org>
Cc: netdev@...r.kernel.org, nbd@....name, lorenzo.bianconi83@...il.com,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, conor@...nel.org,
linux-arm-kernel@...ts.infradead.org, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org,
devicetree@...r.kernel.org, catalin.marinas@....com,
will@...nel.org, upstream@...oha.com,
angelogioacchino.delregno@...labora.com,
benjamin.larsson@...exis.eu, rkannoth@...vell.com,
sgoutham@...vell.com, andrew@...n.ch, arnd@...db.de
Subject: Re: [PATCH v4 2/2] net: airoha: Introduce ethernet support for
EN7581 SoC
On Sat, Jun 29, 2024 at 05:01:38PM +0200, Lorenzo Bianconi wrote:
...
> diff --git a/drivers/net/ethernet/mediatek/airoha_eth.c b/drivers/net/ethernet/mediatek/airoha_eth.c
...
> +#define INT_IDX4_MASK \
> + (TX8_COHERENT_INT_MASK | TX9_COHERENT_INT_MASK | \
> + TX10_COHERENT_INT_MASK | TX11_COHERENT_INT_MASK | \
> + TX12_COHERENT_INT_MASK | TX13_COHERENT_INT_MASK | \
> + TX14_COHERENT_INT_MASK | TX15_COHERENT_INT_MASK | \
> + TX16_COHERENT_INT_MASK | TX17_COHERENT_INT_MASK | \
> + TX18_COHERENT_INT_MASK | TX19_COHERENT_INT_MASK | \
> + TX20_COHERENT_INT_MASK | TX21_COHERENT_INT_MASK | \
> + TX20_COHERENT_INT_MASK | TX21_COHERENT_INT_MASK | \
Hi Lorenzo,
One more thing that I forgot to note yesterday:
the two lines above appear to be duplicates of each other.
Flagged by Coccinelle.
> + TX22_COHERENT_INT_MASK | TX23_COHERENT_INT_MASK | \
> + TX24_COHERENT_INT_MASK | TX25_COHERENT_INT_MASK | \
> + TX26_COHERENT_INT_MASK | TX27_COHERENT_INT_MASK | \
> + TX28_COHERENT_INT_MASK | TX29_COHERENT_INT_MASK | \
> + TX30_COHERENT_INT_MASK | TX31_COHERENT_INT_MASK)
...
Powered by blists - more mailing lists