========== build_32bit - FAILED Documentation/.renames.txt: warning: ignored by one of the .gitignore files In file included from ../include/linux/bitops.h:6, from ../include/linux/kernel.h:23, from ../include/linux/skbuff.h:13, from ../include/linux/if_ether.h:19, from ../include/linux/etherdevice.h:20, from ../drivers/net/dsa/yt921x.c:11: ../drivers/net/dsa/yt921x.c: In function ‘yt921x_dsa_vlan_msti_set’: ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.c:2154:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 2154 | mask64 = YT921X_VLAN_CTRL_STP_ID_M; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.c:2154:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 2154 | mask64 = YT921X_VLAN_CTRL_STP_ID_M; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from : ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:65:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 65 | BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:65:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 65 | BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:67:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 67 | BUILD_BUG_ON_MSG((_mask) == 0, _pfx "mask is zero"); \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:67:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 67 | BUILD_BUG_ON_MSG((_mask) == 0, _pfx "mask is zero"); \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:68:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 68 | BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:68:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 68 | BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:68:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 68 | BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:69:47: note: in expansion of macro ‘__bf_shf’ 69 | ~((_mask) >> __bf_shf(_mask)) & \ | ^~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:68:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 68 | BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:69:47: note: in expansion of macro ‘__bf_shf’ 69 | ~((_mask) >> __bf_shf(_mask)) & \ | ^~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:72:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 72 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(_mask, _mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:72:34: note: in expansion of macro ‘__bf_cast_unsigned’ 72 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(_mask, _mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:72:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 72 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(_mask, _mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:72:34: note: in expansion of macro ‘__bf_cast_unsigned’ 72 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(_mask, _mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:21:9: note: in expansion of macro ‘BUILD_BUG_ON’ 21 | BUILD_BUG_ON(((n) & ((n) - 1)) != 0) | ^~~~~~~~~~~~ ../include/linux/bitfield.h:75:17: note: in expansion of macro ‘__BUILD_BUG_ON_NOT_POWER_OF_2’ 75 | __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:21:9: note: in expansion of macro ‘BUILD_BUG_ON’ 21 | BUILD_BUG_ON(((n) & ((n) - 1)) != 0) | ^~~~~~~~~~~~ ../include/linux/bitfield.h:75:17: note: in expansion of macro ‘__BUILD_BUG_ON_NOT_POWER_OF_2’ 75 | __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:21:9: note: in expansion of macro ‘BUILD_BUG_ON’ 21 | BUILD_BUG_ON(((n) & ((n) - 1)) != 0) | ^~~~~~~~~~~~ ../include/linux/bitfield.h:75:17: note: in expansion of macro ‘__BUILD_BUG_ON_NOT_POWER_OF_2’ 75 | __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:76:56: note: in expansion of macro ‘__bf_shf’ 76 | (1ULL << __bf_shf(_mask))); \ | ^~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:21:9: note: in expansion of macro ‘BUILD_BUG_ON’ 21 | BUILD_BUG_ON(((n) & ((n) - 1)) != 0) | ^~~~~~~~~~~~ ../include/linux/bitfield.h:75:17: note: in expansion of macro ‘__BUILD_BUG_ON_NOT_POWER_OF_2’ 75 | __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:76:56: note: in expansion of macro ‘__bf_shf’ 76 | (1ULL << __bf_shf(_mask))); \ | ^~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:21:9: note: in expansion of macro ‘BUILD_BUG_ON’ 21 | BUILD_BUG_ON(((n) & ((n) - 1)) != 0) | ^~~~~~~~~~~~ ../include/linux/bitfield.h:75:17: note: in expansion of macro ‘__BUILD_BUG_ON_NOT_POWER_OF_2’ 75 | __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:21:9: note: in expansion of macro ‘BUILD_BUG_ON’ 21 | BUILD_BUG_ON(((n) & ((n) - 1)) != 0) | ^~~~~~~~~~~~ ../include/linux/bitfield.h:75:17: note: in expansion of macro ‘__BUILD_BUG_ON_NOT_POWER_OF_2’ 75 | __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:21:9: note: in expansion of macro ‘BUILD_BUG_ON’ 21 | BUILD_BUG_ON(((n) & ((n) - 1)) != 0) | ^~~~~~~~~~~~ ../include/linux/bitfield.h:75:17: note: in expansion of macro ‘__BUILD_BUG_ON_NOT_POWER_OF_2’ 75 | __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:76:56: note: in expansion of macro ‘__bf_shf’ 76 | (1ULL << __bf_shf(_mask))); \ | ^~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:21:9: note: in expansion of macro ‘BUILD_BUG_ON’ 21 | BUILD_BUG_ON(((n) & ((n) - 1)) != 0) | ^~~~~~~~~~~~ ../include/linux/bitfield.h:75:17: note: in expansion of macro ‘__BUILD_BUG_ON_NOT_POWER_OF_2’ 75 | __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:76:56: note: in expansion of macro ‘__bf_shf’ 76 | (1ULL << __bf_shf(_mask))); \ | ^~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/fortify-string.h:5, from ../include/linux/string.h:382, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15: ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ../include/linux/bitfield.h:45:38: note: in definition of macro ‘__bf_shf’ 45 | #define __bf_shf(x) (__builtin_ffsll(x) - 1) | ^ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ../include/linux/bitfield.h:45:38: note: in definition of macro ‘__bf_shf’ 45 | #define __bf_shf(x) (__builtin_ffsll(x) - 1) | ^ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ../include/linux/bitfield.h:116:63: note: in definition of macro ‘FIELD_PREP’ 116 | ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \ | ^~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ../include/linux/bitfield.h:116:63: note: in definition of macro ‘FIELD_PREP’ 116 | ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \ | ^~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:597:45: error: call to ‘__compiletime_assert_1167’ declared with attribute error: FIELD_PREP: mask is not constant 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:578:25: note: in definition of macro ‘__compiletime_assert’ 578 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:65:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 65 | BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2155:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2155 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:287: drivers/net/dsa/yt921x.o] Error 1 make[5]: *** [../scripts/Makefile.build:556: drivers/net/dsa] Error 2 make[4]: *** [../scripts/Makefile.build:556: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:556: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:2010: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 Documentation/.renames.txt: warning: ignored by one of the .gitignore files In file included from ../include/linux/bitops.h:6, from ../include/linux/kernel.h:23, from ../include/linux/skbuff.h:13, from ../include/linux/if_ether.h:19, from ../include/linux/etherdevice.h:20, from ../drivers/net/dsa/yt921x.c:11: ../drivers/net/dsa/yt921x.c: In function ‘yt921x_dsa_vlan_msti_set’: ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.c:2175:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 2175 | mask64 = YT921X_VLAN_CTRL_STP_ID_M; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.c:2175:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 2175 | mask64 = YT921X_VLAN_CTRL_STP_ID_M; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from : ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:65:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 65 | BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:65:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 65 | BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:67:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 67 | BUILD_BUG_ON_MSG((_mask) == 0, _pfx "mask is zero"); \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:67:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 67 | BUILD_BUG_ON_MSG((_mask) == 0, _pfx "mask is zero"); \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:68:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 68 | BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:68:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 68 | BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:68:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 68 | BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:69:47: note: in expansion of macro ‘__bf_shf’ 69 | ~((_mask) >> __bf_shf(_mask)) & \ | ^~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:68:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 68 | BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:69:47: note: in expansion of macro ‘__bf_shf’ 69 | ~((_mask) >> __bf_shf(_mask)) & \ | ^~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:72:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 72 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(_mask, _mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:72:34: note: in expansion of macro ‘__bf_cast_unsigned’ 72 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(_mask, _mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:72:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 72 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(_mask, _mask) > \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:72:34: note: in expansion of macro ‘__bf_cast_unsigned’ 72 | BUILD_BUG_ON_MSG(__bf_cast_unsigned(_mask, _mask) > \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:21:9: note: in expansion of macro ‘BUILD_BUG_ON’ 21 | BUILD_BUG_ON(((n) & ((n) - 1)) != 0) | ^~~~~~~~~~~~ ../include/linux/bitfield.h:75:17: note: in expansion of macro ‘__BUILD_BUG_ON_NOT_POWER_OF_2’ 75 | __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:21:9: note: in expansion of macro ‘BUILD_BUG_ON’ 21 | BUILD_BUG_ON(((n) & ((n) - 1)) != 0) | ^~~~~~~~~~~~ ../include/linux/bitfield.h:75:17: note: in expansion of macro ‘__BUILD_BUG_ON_NOT_POWER_OF_2’ 75 | __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:21:9: note: in expansion of macro ‘BUILD_BUG_ON’ 21 | BUILD_BUG_ON(((n) & ((n) - 1)) != 0) | ^~~~~~~~~~~~ ../include/linux/bitfield.h:75:17: note: in expansion of macro ‘__BUILD_BUG_ON_NOT_POWER_OF_2’ 75 | __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:76:56: note: in expansion of macro ‘__bf_shf’ 76 | (1ULL << __bf_shf(_mask))); \ | ^~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:21:9: note: in expansion of macro ‘BUILD_BUG_ON’ 21 | BUILD_BUG_ON(((n) & ((n) - 1)) != 0) | ^~~~~~~~~~~~ ../include/linux/bitfield.h:75:17: note: in expansion of macro ‘__BUILD_BUG_ON_NOT_POWER_OF_2’ 75 | __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:76:56: note: in expansion of macro ‘__bf_shf’ 76 | (1ULL << __bf_shf(_mask))); \ | ^~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:21:9: note: in expansion of macro ‘BUILD_BUG_ON’ 21 | BUILD_BUG_ON(((n) & ((n) - 1)) != 0) | ^~~~~~~~~~~~ ../include/linux/bitfield.h:75:17: note: in expansion of macro ‘__BUILD_BUG_ON_NOT_POWER_OF_2’ 75 | __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:21:9: note: in expansion of macro ‘BUILD_BUG_ON’ 21 | BUILD_BUG_ON(((n) & ((n) - 1)) != 0) | ^~~~~~~~~~~~ ../include/linux/bitfield.h:75:17: note: in expansion of macro ‘__BUILD_BUG_ON_NOT_POWER_OF_2’ 75 | __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:21:9: note: in expansion of macro ‘BUILD_BUG_ON’ 21 | BUILD_BUG_ON(((n) & ((n) - 1)) != 0) | ^~~~~~~~~~~~ ../include/linux/bitfield.h:75:17: note: in expansion of macro ‘__BUILD_BUG_ON_NOT_POWER_OF_2’ 75 | __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:76:56: note: in expansion of macro ‘__bf_shf’ 76 | (1ULL << __bf_shf(_mask))); \ | ^~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ./../include/linux/compiler_types.h:577:23: note: in definition of macro ‘__compiletime_assert’ 577 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:21:9: note: in expansion of macro ‘BUILD_BUG_ON’ 21 | BUILD_BUG_ON(((n) & ((n) - 1)) != 0) | ^~~~~~~~~~~~ ../include/linux/bitfield.h:75:17: note: in expansion of macro ‘__BUILD_BUG_ON_NOT_POWER_OF_2’ 75 | __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:76:56: note: in expansion of macro ‘__bf_shf’ 76 | (1ULL << __bf_shf(_mask))); \ | ^~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/fortify-string.h:5, from ../include/linux/string.h:382, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/skbuff.h:15: ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ../include/linux/bitfield.h:45:38: note: in definition of macro ‘__bf_shf’ 45 | #define __bf_shf(x) (__builtin_ffsll(x) - 1) | ^ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ../include/linux/bitfield.h:45:38: note: in definition of macro ‘__bf_shf’ 45 | #define __bf_shf(x) (__builtin_ffsll(x) - 1) | ^ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:48:27: warning: left shift count >= width of type [-Wshift-count-overflow] 48 | (type_max(t) << (l) & \ | ^~ ../include/linux/bitfield.h:116:63: note: in definition of macro ‘FIELD_PREP’ 116 | ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \ | ^~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/bits.h:49:27: warning: right shift count >= width of type [-Wshift-count-overflow] 49 | type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h))))) | ^~ ../include/linux/bitfield.h:116:63: note: in definition of macro ‘FIELD_PREP’ 116 | ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \ | ^~~~~ ../include/linux/bits.h:51:33: note: in expansion of macro ‘GENMASK_TYPE’ 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:341:49: note: in expansion of macro ‘GENMASK’ 341 | #define YT921X_VLAN_CTRL_STP_ID_M GENMASK(39, 36) | ^~~~~~~ ../drivers/net/dsa/yt921x.h:342:68: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID_M’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:597:45: error: call to ‘__compiletime_assert_1167’ declared with attribute error: FIELD_PREP: mask is not constant 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:578:25: note: in definition of macro ‘__compiletime_assert’ 578 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:597:9: note: in expansion of macro ‘_compiletime_assert’ 597 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:65:17: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 65 | BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \ | ^~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:115:17: note: in expansion of macro ‘__BF_FIELD_CHECK’ 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ ../drivers/net/dsa/yt921x.h:342:57: note: in expansion of macro ‘FIELD_PREP’ 342 | #define YT921X_VLAN_CTRL_STP_ID(x) FIELD_PREP(YT921X_VLAN_CTRL_STP_ID_M, (x)) | ^~~~~~~~~~ ../drivers/net/dsa/yt921x.c:2176:18: note: in expansion of macro ‘YT921X_VLAN_CTRL_STP_ID’ 2176 | ctrl64 = YT921X_VLAN_CTRL_STP_ID(msti->msti); | ^~~~~~~~~~~~~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:287: drivers/net/dsa/yt921x.o] Error 1 make[5]: *** [../scripts/Makefile.build:556: drivers/net/dsa] Error 2 make[4]: *** [../scripts/Makefile.build:556: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:556: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:2010: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2