========== build_clang - FAILED In file included from ../drivers/net/ethernet/marvell/mvneta.c:14: In file included from ../include/linux/clk.h:14: In file included from ../include/linux/notifier.h:14: In file included from ../include/linux/mutex.h:17: In file included from ../include/linux/lockdep.h:14: In file included from ../include/linux/smp.h:13: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:389: In file included from ../include/linux/fortify-string.h:5: ../include/linux/bitfield.h:166:3: error: call to '__bad_mask' declared with 'error' attribute: bad bitfield mask 166 | __bad_mask(); | ^ ../include/linux/bitfield.h:201:1: error: call to '__field_overflow' declared with 'error' attribute: value doesn't fit into mask 201 | __MAKE_OP(32) | ^ ../include/linux/bitfield.h:198:2: note: expanded from macro '__MAKE_OP' 198 | ____MAKE_OP(u##size,u##size,,) | ^ ../include/linux/bitfield.h:178:3: note: expanded from macro '____MAKE_OP' 178 | __field_overflow(); \ | ^ ../include/linux/bitfield.h:166:3: error: call to '__bad_mask' declared with 'error' attribute: bad bitfield mask 166 | __bad_mask(); | ^ ../include/linux/bitfield.h:166:3: error: call to '__bad_mask' declared with 'error' attribute: bad bitfield mask ../include/linux/bitfield.h:201:1: error: call to '__field_overflow' declared with 'error' attribute: value doesn't fit into mask 201 | __MAKE_OP(32) | ^ ../include/linux/bitfield.h:198:2: note: expanded from macro '__MAKE_OP' 198 | ____MAKE_OP(u##size,u##size,,) | ^ ../include/linux/bitfield.h:178:3: note: expanded from macro '____MAKE_OP' 178 | __field_overflow(); \ | ^ ../include/linux/bitfield.h:166:3: error: call to '__bad_mask' declared with 'error' attribute: bad bitfield mask 166 | __bad_mask(); | ^ ../include/linux/bitfield.h:201:1: error: call to '__field_overflow' declared with 'error' attribute: value doesn't fit into mask 201 | __MAKE_OP(32) | ^ ../include/linux/bitfield.h:198:2: note: expanded from macro '__MAKE_OP' 198 | ____MAKE_OP(u##size,u##size,,) | ^ ../include/linux/bitfield.h:178:3: note: expanded from macro '____MAKE_OP' 178 | __field_overflow(); \ | ^ ../include/linux/bitfield.h:166:3: error: call to '__bad_mask' declared with 'error' attribute: bad bitfield mask 166 | __bad_mask(); | ^ ../include/linux/bitfield.h:166:3: error: call to '__bad_mask' declared with 'error' attribute: bad bitfield mask ../include/linux/bitfield.h:201:1: error: call to '__field_overflow' declared with 'error' attribute: value doesn't fit into mask 201 | __MAKE_OP(32) | ^ ../include/linux/bitfield.h:198:2: note: expanded from macro '__MAKE_OP' 198 | ____MAKE_OP(u##size,u##size,,) | ^ ../include/linux/bitfield.h:178:3: note: expanded from macro '____MAKE_OP' 178 | __field_overflow(); \ | ^ 10 errors generated. make[7]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/marvell/mvneta.o] Error 1 make[7]: *** Waiting for unfinished jobs.... make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/marvell] 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-1/Makefile:1989: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 In file included from ../drivers/net/ethernet/marvell/mvneta.c:14: In file included from ../include/linux/clk.h:14: In file included from ../include/linux/notifier.h:14: In file included from ../include/linux/mutex.h:17: In file included from ../include/linux/lockdep.h:14: In file included from ../include/linux/smp.h:13: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:389: In file included from ../include/linux/fortify-string.h:5: ../include/linux/bitfield.h:166:3: error: call to '__bad_mask' declared with 'error' attribute: bad bitfield mask 166 | __bad_mask(); | ^ ../include/linux/bitfield.h:201:1: error: call to '__field_overflow' declared with 'error' attribute: value doesn't fit into mask 201 | __MAKE_OP(32) | ^ ../include/linux/bitfield.h:198:2: note: expanded from macro '__MAKE_OP' 198 | ____MAKE_OP(u##size,u##size,,) | ^ ../include/linux/bitfield.h:178:3: note: expanded from macro '____MAKE_OP' 178 | __field_overflow(); \ | ^ ../include/linux/bitfield.h:166:3: error: call to '__bad_mask' declared with 'error' attribute: bad bitfield mask 166 | __bad_mask(); | ^ ../include/linux/bitfield.h:166:3: error: call to '__bad_mask' declared with 'error' attribute: bad bitfield mask ../include/linux/bitfield.h:201:1: error: call to '__field_overflow' declared with 'error' attribute: value doesn't fit into mask 201 | __MAKE_OP(32) | ^ ../include/linux/bitfield.h:198:2: note: expanded from macro '__MAKE_OP' 198 | ____MAKE_OP(u##size,u##size,,) | ^ ../include/linux/bitfield.h:178:3: note: expanded from macro '____MAKE_OP' 178 | __field_overflow(); \ | ^ ../include/linux/bitfield.h:166:3: error: call to '__bad_mask' declared with 'error' attribute: bad bitfield mask 166 | __bad_mask(); | ^ ../include/linux/bitfield.h:201:1: error: call to '__field_overflow' declared with 'error' attribute: value doesn't fit into mask 201 | __MAKE_OP(32) | ^ ../include/linux/bitfield.h:198:2: note: expanded from macro '__MAKE_OP' 198 | ____MAKE_OP(u##size,u##size,,) | ^ ../include/linux/bitfield.h:178:3: note: expanded from macro '____MAKE_OP' 178 | __field_overflow(); \ | ^ ../include/linux/bitfield.h:166:3: error: call to '__bad_mask' declared with 'error' attribute: bad bitfield mask 166 | __bad_mask(); | ^ ../include/linux/bitfield.h:166:3: error: call to '__bad_mask' declared with 'error' attribute: bad bitfield mask ../include/linux/bitfield.h:201:1: error: call to '__field_overflow' declared with 'error' attribute: value doesn't fit into mask 201 | __MAKE_OP(32) | ^ ../include/linux/bitfield.h:198:2: note: expanded from macro '__MAKE_OP' 198 | ____MAKE_OP(u##size,u##size,,) | ^ ../include/linux/bitfield.h:178:3: note: expanded from macro '____MAKE_OP' 178 | __field_overflow(); \ | ^ 10 errors generated. make[7]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/marvell/mvneta.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:10: In file included from ../include/linux/acpi.h:13: In file included from ../include/linux/resource_ext.h:11: In file included from ../include/linux/slab.h:16: In file included from ../include/linux/gfp.h:7: In file included from ../include/linux/mmzone.h:8: In file included from ../include/linux/spinlock.h:59: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:80: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:389: In file included from ../include/linux/fortify-string.h:5: ../include/linux/bitfield.h:166:3: error: call to '__bad_mask' declared with 'error' attribute: bad bitfield mask 166 | __bad_mask(); | ^ ../include/linux/bitfield.h:201:1: error: call to '__field_overflow' declared with 'error' attribute: value doesn't fit into mask 201 | __MAKE_OP(32) | ^ ../include/linux/bitfield.h:198:2: note: expanded from macro '__MAKE_OP' 198 | ____MAKE_OP(u##size,u##size,,) | ^ ../include/linux/bitfield.h:178:3: note: expanded from macro '____MAKE_OP' 178 | __field_overflow(); \ | ^ ../include/linux/bitfield.h:166:3: error: call to '__bad_mask' declared with 'error' attribute: bad bitfield mask 166 | __bad_mask(); | ^ ../include/linux/bitfield.h:166:3: error: call to '__bad_mask' declared with 'error' attribute: bad bitfield mask ../include/linux/bitfield.h:201:1: error: call to '__field_overflow' declared with 'error' attribute: value doesn't fit into mask 201 | __MAKE_OP(32) | ^ ../include/linux/bitfield.h:198:2: note: expanded from macro '__MAKE_OP' 198 | ____MAKE_OP(u##size,u##size,,) | ^ ../include/linux/bitfield.h:178:3: note: expanded from macro '____MAKE_OP' 178 | __field_overflow(); \ | ^ 5 errors generated. make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/marvell/mvpp2/mvpp2_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/marvell/mvpp2] Error 2 make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/marvell] 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-1/Makefile:1989: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 New errors added --- /tmp/tmp.3jnQ2iNMLi 2024-12-09 11:52:26.898342110 -0800 +++ /tmp/tmp.luk4u71jOH 2024-12-09 11:52:43.945182188 -0800 @@ -63,0 +64,42 @@ +In file included from ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:10: +In file included from ../include/linux/acpi.h:13: +In file included from ../include/linux/resource_ext.h:11: +In file included from ../include/linux/slab.h:16: +In file included from ../include/linux/gfp.h:7: +In file included from ../include/linux/mmzone.h:8: +In file included from ../include/linux/spinlock.h:59: +In file included from ../include/linux/irqflags.h:18: +In file included from ../arch/x86/include/asm/irqflags.h:80: +In file included from ../arch/x86/include/asm/paravirt.h:21: +In file included from ../include/linux/cpumask.h:12: +In file included from ../include/linux/bitmap.h:13: +In file included from ../include/linux/string.h:389: +In file included from ../include/linux/fortify-string.h:5: +../include/linux/bitfield.h:166:3: error: call to '__bad_mask' declared with 'error' attribute: bad bitfield mask + 166 | __bad_mask(); + | ^ +../include/linux/bitfield.h:201:1: error: call to '__field_overflow' declared with 'error' attribute: value doesn't fit into mask + 201 | __MAKE_OP(32) + | ^ +../include/linux/bitfield.h:198:2: note: expanded from macro '__MAKE_OP' + 198 | ____MAKE_OP(u##size,u##size,,) + | ^ +../include/linux/bitfield.h:178:3: note: expanded from macro '____MAKE_OP' + 178 | __field_overflow(); \ + | ^ +../include/linux/bitfield.h:166:3: error: call to '__bad_mask' declared with 'error' attribute: bad bitfield mask + 166 | __bad_mask(); + | ^ +../include/linux/bitfield.h:166:3: error: call to '__bad_mask' declared with 'error' attribute: bad bitfield mask +../include/linux/bitfield.h:201:1: error: call to '__field_overflow' declared with 'error' attribute: value doesn't fit into mask + 201 | __MAKE_OP(32) + | ^ +../include/linux/bitfield.h:198:2: note: expanded from macro '__MAKE_OP' + 198 | ____MAKE_OP(u##size,u##size,,) + | ^ +../include/linux/bitfield.h:178:3: note: expanded from macro '____MAKE_OP' + 178 | __field_overflow(); \ + | ^ +5 errors generated. +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/marvell/mvpp2/mvpp2_main.o] Error 1 +make[7]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/marvell/mvpp2] Error 2 Per-file breakdown --- /tmp/tmp.YmEb5InGSH 2024-12-09 11:52:43.953182113 -0800 +++ /tmp/tmp.MXNZZnQkKs 2024-12-09 11:52:43.955182094 -0800 @@ -1 +1 @@ - 10 ../include/linux/bitfield.h + 15 ../include/linux/bitfield.h