../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:822:8: error: call to '__compiletime_assert_1035' declared with 'error' attribute: FIELD_PREP: value too large for the field 822 | val = FIELD_PREP(GENMASK(2, 0), port_cfg.ceil); | ^ ../include/linux/bitfield.h:115:3: note: expanded from macro 'FIELD_PREP' 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^ ../include/linux/bitfield.h:68:3: note: expanded from macro '__BF_FIELD_CHECK' 68 | BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ | ^ ../include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) ./../include/linux/compiler_types.h:530:2: note: expanded from macro '_compiletime_assert' 530 | __compiletime_assert(condition, msg, prefix, suffix) | ^ ./../include/linux/compiler_types.h:523:4: note: expanded from macro '__compiletime_assert' 523 | prefix ## suffix(); \ | ^ :55:1: note: expanded from here 55 | __compiletime_assert_1035 | ^ 1 error generated. make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/qualcomm/ppe/ppe_config.o] Error 1 make[8]: *** Waiting for unfinished jobs.... make[7]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/qualcomm/ppe] Error 2 make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/qualcomm] Error 2 make[5]: *** [../scripts/Makefile.build:440: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:440: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1993: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:711:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 711 | .ucastq_end = 271, | ^~~ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:709:17: note: previous initialization is here 709 | .ucastq_end = 63, | ^~ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:722:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 722 | .ucastq_end = 275, | ^~~ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:720:17: note: previous initialization is here 720 | .ucastq_end = 159, | ^~~ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:733:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 733 | .ucastq_end = 279, | ^~~ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:731:17: note: previous initialization is here 731 | .ucastq_end = 175, | ^~~ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:744:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 744 | .ucastq_end = 283, | ^~~ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:742:17: note: previous initialization is here 742 | .ucastq_end = 191, | ^~~ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:755:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 755 | .ucastq_end = 287, | ^~~ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:753:17: note: previous initialization is here 753 | .ucastq_end = 207, | ^~~ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:766:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 766 | .ucastq_end = 291, | ^~~ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:764:17: note: previous initialization is here 764 | .ucastq_end = 223, | ^~~ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:777:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 777 | .ucastq_end = 295, | ^~~ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:775:17: note: previous initialization is here 775 | .ucastq_end = 239, | ^~~ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:788:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 788 | .ucastq_end = 299, | ^~~ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:786:17: note: previous initialization is here 786 | .ucastq_end = 255, | ^~~ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:799:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 799 | .ucastq_end = 0, | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:797:17: note: previous initialization is here 797 | .ucastq_end = 143, | ^~~ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1098:8: error: call to '__compiletime_assert_1055' declared with 'error' attribute: FIELD_PREP: value too large for the field 1098 | val = FIELD_PREP(GENMASK(2, 0), port_cfg.ceil); | ^ ../include/linux/bitfield.h:115:3: note: expanded from macro 'FIELD_PREP' 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^ ../include/linux/bitfield.h:68:3: note: expanded from macro '__BF_FIELD_CHECK' 68 | BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ | ^ ../include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) ./../include/linux/compiler_types.h:530:2: note: expanded from macro '_compiletime_assert' 530 | __compiletime_assert(condition, msg, prefix, suffix) | ^ ./../include/linux/compiler_types.h:523:4: note: expanded from macro '__compiletime_assert' 523 | prefix ## suffix(); \ | ^ :71:1: note: expanded from here 71 | __compiletime_assert_1055 | ^ 9 warnings and 1 error generated. make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/qualcomm/ppe/ppe_config.o] Error 1 make[7]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/qualcomm/ppe] Error 2 make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/qualcomm] Error 2 make[5]: *** [../scripts/Makefile.build:440: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:440: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1993: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 New errors added --- /tmp/tmp.7VIqDuo4Cl 2025-01-08 07:04:37.649572338 -0800 +++ /tmp/tmp.03CqZNMMJ2 2025-01-08 07:04:54.282394254 -0800 @@ -1,2 +1,56 @@ -../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:822:8: error: call to '__compiletime_assert_1035' declared with 'error' attribute: FIELD_PREP: value too large for the field - 822 | val = FIELD_PREP(GENMASK(2, 0), port_cfg.ceil); +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:711:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] + 711 | .ucastq_end = 271, + | ^~~ +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:709:17: note: previous initialization is here + 709 | .ucastq_end = 63, + | ^~ +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:722:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] + 722 | .ucastq_end = 275, + | ^~~ +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:720:17: note: previous initialization is here + 720 | .ucastq_end = 159, + | ^~~ +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:733:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] + 733 | .ucastq_end = 279, + | ^~~ +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:731:17: note: previous initialization is here + 731 | .ucastq_end = 175, + | ^~~ +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:744:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] + 744 | .ucastq_end = 283, + | ^~~ +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:742:17: note: previous initialization is here + 742 | .ucastq_end = 191, + | ^~~ +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:755:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] + 755 | .ucastq_end = 287, + | ^~~ +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:753:17: note: previous initialization is here + 753 | .ucastq_end = 207, + | ^~~ +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:766:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] + 766 | .ucastq_end = 291, + | ^~~ +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:764:17: note: previous initialization is here + 764 | .ucastq_end = 223, + | ^~~ +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:777:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] + 777 | .ucastq_end = 295, + | ^~~ +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:775:17: note: previous initialization is here + 775 | .ucastq_end = 239, + | ^~~ +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:788:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] + 788 | .ucastq_end = 299, + | ^~~ +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:786:17: note: previous initialization is here + 786 | .ucastq_end = 255, + | ^~~ +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:799:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] + 799 | .ucastq_end = 0, + | ^ +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:797:17: note: previous initialization is here + 797 | .ucastq_end = 143, + | ^~~ +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1098:8: error: call to '__compiletime_assert_1055' declared with 'error' attribute: FIELD_PREP: value too large for the field + 1098 | val = FIELD_PREP(GENMASK(2, 0), port_cfg.ceil); @@ -20,2 +74,2 @@ -:55:1: note: expanded from here - 55 | __compiletime_assert_1035 +:71:1: note: expanded from here + 71 | __compiletime_assert_1055 @@ -23 +77 @@ -1 error generated. +9 warnings and 1 error generated. @@ -25 +78,0 @@ -make[8]: *** Waiting for unfinished jobs.... Per-file breakdown --- /tmp/tmp.E0qzR0E113 2025-01-08 07:04:54.290394169 -0800 +++ /tmp/tmp.GUwGxsWuyg 2025-01-08 07:04:54.292394147 -0800 @@ -1 +1 @@ - 1 ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c + 10 ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c