[net-next v4 2/3] net: ethernet: mtk_eth_soc: add consts for irq index
Simon Horman
horms at kernel.org
Wed Jun 18 01:36:23 PDT 2025
On Mon, Jun 16, 2025 at 10:07:35AM +0200, Frank Wunderlich wrote:
> From: Frank Wunderlich <frank-w at public-files.de>
>
> Use consts instead of fixed integers for accessing IRQ array.
>
> Signed-off-by: Frank Wunderlich <frank-w at public-files.de>
> ---
> v4:
> - calculate max from last (rx) irq index and use it for array size too
Reviewed-by: Simon Horman <horms at kernel.org>
More information about the linux-arm-kernel
mailing list