========== build_clang - FAILED ../net/core/pktgen.c:2845:14: error: call to '__compiletime_assert_2141' declared with 'error' attribute: min(datalen / frags, ((1UL) << 12)) signedness error 2845 | frag_len = min(datalen / frags, PAGE_SIZE); | ^ ../include/linux/minmax.h:105:19: note: expanded from macro 'min' 105 | #define min(x, y) __careful_cmp(min, x, y) | ^ ../include/linux/minmax.h:98:2: note: expanded from macro '__careful_cmp' 98 | __careful_cmp_once(op, x, y, __UNIQUE_ID(x_), __UNIQUE_ID(y_)) | ^ ../include/linux/minmax.h:93:2: note: expanded from macro '__careful_cmp_once' 93 | BUILD_BUG_ON_MSG(!__types_ok(ux, uy), \ | ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) ./../include/linux/compiler_types.h:560:2: note: expanded from macro '_compiletime_assert' 560 | __compiletime_assert(condition, msg, prefix, suffix) | ^ ./../include/linux/compiler_types.h:553:4: note: expanded from macro '__compiletime_assert' 553 | prefix ## suffix(); \ | ^ :198:1: note: expanded from here 198 | __compiletime_assert_2141 | ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:287: net/core/pktgen.o] Error 1 make[4]: *** [../scripts/Makefile.build:556: net/core] Error 2 make[3]: *** [../scripts/Makefile.build:556: net] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-0/Makefile:2011: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 ../net/core/pktgen.c:2845:14: error: call to '__compiletime_assert_2141' declared with 'error' attribute: min(datalen / frags, ((1UL) << 12)) signedness error 2845 | frag_len = min(datalen / frags, PAGE_SIZE); | ^ ../include/linux/minmax.h:105:19: note: expanded from macro 'min' 105 | #define min(x, y) __careful_cmp(min, x, y) | ^ ../include/linux/minmax.h:98:2: note: expanded from macro '__careful_cmp' 98 | __careful_cmp_once(op, x, y, __UNIQUE_ID(x_), __UNIQUE_ID(y_)) | ^ ../include/linux/minmax.h:93:2: note: expanded from macro '__careful_cmp_once' 93 | BUILD_BUG_ON_MSG(!__types_ok(ux, uy), \ | ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) ./../include/linux/compiler_types.h:560:2: note: expanded from macro '_compiletime_assert' 560 | __compiletime_assert(condition, msg, prefix, suffix) | ^ ./../include/linux/compiler_types.h:553:4: note: expanded from macro '__compiletime_assert' 553 | prefix ## suffix(); \ | ^ :198:1: note: expanded from here 198 | __compiletime_assert_2141 | ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:287: net/core/pktgen.o] Error 1 make[4]: *** [../scripts/Makefile.build:556: net/core] Error 2 make[3]: *** [../scripts/Makefile.build:556: net] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-0/Makefile:2011: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.vMlszo5K6h 2025-08-14 10:31:35.196151300 -0700 +++ /tmp/tmp.ZbM6VWg8wm 2025-08-14 10:33:08.232723683 -0700 @@ -0,0 +1,30 @@ +../net/core/pktgen.c:2845:14: error: call to '__compiletime_assert_2141' declared with 'error' attribute: min(datalen / frags, ((1UL) << 12)) signedness error + 2845 | frag_len = min(datalen / frags, PAGE_SIZE); + | ^ +../include/linux/minmax.h:105:19: note: expanded from macro 'min' + 105 | #define min(x, y) __careful_cmp(min, x, y) + | ^ +../include/linux/minmax.h:98:2: note: expanded from macro '__careful_cmp' + 98 | __careful_cmp_once(op, x, y, __UNIQUE_ID(x_), __UNIQUE_ID(y_)) + | ^ +../include/linux/minmax.h:93:2: note: expanded from macro '__careful_cmp_once' + 93 | BUILD_BUG_ON_MSG(!__types_ok(ux, uy), \ + | ^ +note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) +./../include/linux/compiler_types.h:560:2: note: expanded from macro '_compiletime_assert' + 560 | __compiletime_assert(condition, msg, prefix, suffix) + | ^ +./../include/linux/compiler_types.h:553:4: note: expanded from macro '__compiletime_assert' + 553 | prefix ## suffix(); \ + | ^ +:198:1: note: expanded from here + 198 | __compiletime_assert_2141 + | ^ +1 error generated. +make[5]: *** [../scripts/Makefile.build:287: net/core/pktgen.o] Error 1 +make[4]: *** [../scripts/Makefile.build:556: net/core] Error 2 +make[3]: *** [../scripts/Makefile.build:556: net] Error 2 +make[3]: *** Waiting for unfinished jobs.... +make[2]: *** [/home/nipa/net-next/wt-0/Makefile:2011: .] Error 2 +make[1]: *** [/home/nipa/net-next/wt-0/Makefile:248: __sub-make] Error 2 +make: *** [Makefile:248: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.5K1N8gY9m3 2025-08-14 10:33:08.239723651 -0700 +++ /tmp/tmp.9TaguwRgsh 2025-08-14 10:33:08.242723637 -0700 @@ -0,0 +1 @@ + 1 ../net/core/pktgen.c