Re: [PATCH net-next v4 1/2] net: dsa: yt921x: Use *_ULL bitfield macros for VLAN_CTRL
From: Andrew Lunn
Date: Mon Dec 01 2025 - 08:31:27 EST
On Mon, Dec 01, 2025 at 05:42:28PM +0800, David Yang wrote:
> VLAN_CTRL should be treated as a 64-bit register. GENMASK and BIT
> macros use unsigned long as the underlying type, which will result in a
> build error on architectures where sizeof(long) == 4.
>
> Replace them with unsigned long long variants.
>
> Signed-off-by: David Yang <mmyangfl@xxxxxxxxx>
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
Andrew