[PATCH net-next 2/3] net: ethernet: mtk_eth_soc: Use ipv6_addr_{cpu_to_be32,be32_to_cpu} helpers

Andrew Lunn andrew at lunn.ch
Mon Aug 12 05:38:38 PDT 2024


On Mon, Aug 12, 2024 at 01:11:56PM +0100, Simon Horman wrote:
> Use ipv6_addr_cpu_to_be32 and ipv6_addr_be32_to_cpu helpers to convert
> address, rather than open coding the conversion.
> 
> No functional change intended.
> Compile tested only.
> 
> Suggested-by: Andrew Lunn <andrew at lunn.ch>
> Link: https://lore.kernel.org/netdev/c7684349-535c-45a4-9a74-d47479a50020@lunn.ch/
> Signed-off-by: Simon Horman <horms at kernel.org>

Reviewed-by: Andrew Lunn <andrew at lunn.ch>

    Andrew



More information about the Linux-mediatek mailing list