diff options
| author | David Yang <mmyangfl@gmail.com> | 2025-12-01 17:42:28 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-12-01 15:10:13 -0800 |
| commit | d973ac83ad0d0292c81d4bcbb4a335834f90aa5d (patch) | |
| tree | 6ae45b43a47d3c348675c88b07c4f29b6593c350 /tools/testing/selftests/net/lib/py/utils.py | |
| parent | a2027019e9cea7f0d82141a2ac2b5709c1dcd88c (diff) | |
net: dsa: yt921x: Use *_ULL bitfield macros for VLAN_CTRL
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@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20251201094232.3155105-2-mmyangfl@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions
