../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_bm_bufs_add' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rxq_drop_pkts' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx_refill' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_buff_hdr_pool_put' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4474:9: warning: context imbalance in 'mvpp2_tx' - different lock contexts for basic block In file included from ../include/linux/fortify-string.h:5, from ../include/linux/string.h:389, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../include/linux/smp.h:13, from ../include/linux/lockdep.h:14, from ../include/linux/mutex.h:17, from ../include/linux/notifier.h:14, from ../include/linux/clk.h:14, from ../drivers/net/ethernet/marvell/mvneta.c:14: In function ‘u32_encode_bits’, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4333:9: ../include/linux/bitfield.h:178:17: error: call to ‘__field_overflow’ declared with attribute error: value doesn't fit into mask 178 | __field_overflow(); \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:198:9: note: in expansion of macro ‘____MAKE_OP’ 198 | ____MAKE_OP(u##size,u##size,,) | ^~~~~~~~~~~ ../include/linux/bitfield.h:201:1: note: in expansion of macro ‘__MAKE_OP’ 201 | __MAKE_OP(32) | ^~~~~~~~~ In function ‘field_multiplier’, inlined from ‘field_mask’ at ../include/linux/bitfield.h:171:17, inlined from ‘u32_encode_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4333:9: ../include/linux/bitfield.h:166:17: error: call to ‘__bad_mask’ declared with attribute error: bad bitfield mask 166 | __bad_mask(); | ^~~~~~~~~~~~ In function ‘u32_encode_bits’, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4333:9: ../include/linux/bitfield.h:178:17: error: call to ‘__field_overflow’ declared with attribute error: value doesn't fit into mask 178 | __field_overflow(); \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:198:9: note: in expansion of macro ‘____MAKE_OP’ 198 | ____MAKE_OP(u##size,u##size,,) | ^~~~~~~~~~~ ../include/linux/bitfield.h:201:1: note: in expansion of macro ‘__MAKE_OP’ 201 | __MAKE_OP(32) | ^~~~~~~~~ In function ‘field_multiplier’, inlined from ‘field_mask’ at ../include/linux/bitfield.h:171:17, inlined from ‘u32_encode_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4333:9: ../include/linux/bitfield.h:166:17: error: call to ‘__bad_mask’ declared with attribute error: bad bitfield mask 166 | __bad_mask(); | ^~~~~~~~~~~~ In function ‘field_multiplier’, inlined from ‘u32_encode_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4333:9: ../include/linux/bitfield.h:166:17: error: call to ‘__bad_mask’ declared with attribute error: bad bitfield mask 166 | __bad_mask(); | ^~~~~~~~~~~~ In function ‘field_multiplier’, inlined from ‘field_mask’ at ../include/linux/bitfield.h:171:17, inlined from ‘u32_encode_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4338:9: ../include/linux/bitfield.h:166:17: error: call to ‘__bad_mask’ declared with attribute error: bad bitfield mask 166 | __bad_mask(); | ^~~~~~~~~~~~ In function ‘u32_encode_bits’, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4338:9: ../include/linux/bitfield.h:178:17: error: call to ‘__field_overflow’ declared with attribute error: value doesn't fit into mask 178 | __field_overflow(); \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:198:9: note: in expansion of macro ‘____MAKE_OP’ 198 | ____MAKE_OP(u##size,u##size,,) | ^~~~~~~~~~~ ../include/linux/bitfield.h:201:1: note: in expansion of macro ‘__MAKE_OP’ 201 | __MAKE_OP(32) | ^~~~~~~~~ In function ‘field_multiplier’, inlined from ‘field_mask’ at ../include/linux/bitfield.h:171:17, inlined from ‘u32_encode_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4338:9: ../include/linux/bitfield.h:166:17: error: call to ‘__bad_mask’ declared with attribute error: bad bitfield mask 166 | __bad_mask(); | ^~~~~~~~~~~~ In function ‘field_multiplier’, inlined from ‘u32_encode_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4338:9: ../include/linux/bitfield.h:166:17: error: call to ‘__bad_mask’ declared with attribute error: bad bitfield mask 166 | __bad_mask(); | ^~~~~~~~~~~~ In function ‘u32_encode_bits’, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4338:9: ../include/linux/bitfield.h:178:17: error: call to ‘__field_overflow’ declared with attribute error: value doesn't fit into mask 178 | __field_overflow(); \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:198:9: note: in expansion of macro ‘____MAKE_OP’ 198 | ____MAKE_OP(u##size,u##size,,) | ^~~~~~~~~~~ ../include/linux/bitfield.h:201:1: note: in expansion of macro ‘__MAKE_OP’ 201 | __MAKE_OP(32) | ^~~~~~~~~ In function ‘u32_encode_bits’, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4333:9: ../include/linux/bitfield.h:178:17: error: call to ‘__field_overflow’ declared with attribute error: value doesn't fit into mask 178 | __field_overflow(); \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:198:9: note: in expansion of macro ‘____MAKE_OP’ 198 | ____MAKE_OP(u##size,u##size,,) | ^~~~~~~~~~~ ../include/linux/bitfield.h:201:1: note: in expansion of macro ‘__MAKE_OP’ 201 | __MAKE_OP(32) | ^~~~~~~~~ In function ‘field_multiplier’, inlined from ‘field_mask’ at ../include/linux/bitfield.h:171:17, inlined from ‘u32_encode_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4333:9: ../include/linux/bitfield.h:166:17: error: call to ‘__bad_mask’ declared with attribute error: bad bitfield mask 166 | __bad_mask(); | ^~~~~~~~~~~~ In function ‘u32_encode_bits’, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4333:9: ../include/linux/bitfield.h:178:17: error: call to ‘__field_overflow’ declared with attribute error: value doesn't fit into mask 178 | __field_overflow(); \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:198:9: note: in expansion of macro ‘____MAKE_OP’ 198 | ____MAKE_OP(u##size,u##size,,) | ^~~~~~~~~~~ ../include/linux/bitfield.h:201:1: note: in expansion of macro ‘__MAKE_OP’ 201 | __MAKE_OP(32) | ^~~~~~~~~ make[7]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/marvell/mvneta.o] Error 1 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 ../include/linux/fortify-string.h:5, from ../include/linux/string.h:389, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../include/linux/smp.h:13, from ../include/linux/lockdep.h:14, from ../include/linux/mutex.h:17, from ../include/linux/notifier.h:14, from ../include/linux/clk.h:14, from ../drivers/net/ethernet/marvell/mvneta.c:14: In function ‘u32_encode_bits’, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4333:9: ../include/linux/bitfield.h:178:17: error: call to ‘__field_overflow’ declared with attribute error: value doesn't fit into mask 178 | __field_overflow(); \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:198:9: note: in expansion of macro ‘____MAKE_OP’ 198 | ____MAKE_OP(u##size,u##size,,) | ^~~~~~~~~~~ ../include/linux/bitfield.h:201:1: note: in expansion of macro ‘__MAKE_OP’ 201 | __MAKE_OP(32) | ^~~~~~~~~ In function ‘field_multiplier’, inlined from ‘field_mask’ at ../include/linux/bitfield.h:171:17, inlined from ‘u32_encode_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4333:9: ../include/linux/bitfield.h:166:17: error: call to ‘__bad_mask’ declared with attribute error: bad bitfield mask 166 | __bad_mask(); | ^~~~~~~~~~~~ In function ‘u32_encode_bits’, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4333:9: ../include/linux/bitfield.h:178:17: error: call to ‘__field_overflow’ declared with attribute error: value doesn't fit into mask 178 | __field_overflow(); \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:198:9: note: in expansion of macro ‘____MAKE_OP’ 198 | ____MAKE_OP(u##size,u##size,,) | ^~~~~~~~~~~ ../include/linux/bitfield.h:201:1: note: in expansion of macro ‘__MAKE_OP’ 201 | __MAKE_OP(32) | ^~~~~~~~~ In function ‘field_multiplier’, inlined from ‘field_mask’ at ../include/linux/bitfield.h:171:17, inlined from ‘u32_encode_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4333:9: ../include/linux/bitfield.h:166:17: error: call to ‘__bad_mask’ declared with attribute error: bad bitfield mask 166 | __bad_mask(); | ^~~~~~~~~~~~ In function ‘field_multiplier’, inlined from ‘u32_encode_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4333:9: ../include/linux/bitfield.h:166:17: error: call to ‘__bad_mask’ declared with attribute error: bad bitfield mask 166 | __bad_mask(); | ^~~~~~~~~~~~ In function ‘field_multiplier’, inlined from ‘field_mask’ at ../include/linux/bitfield.h:171:17, inlined from ‘u32_encode_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4338:9: ../include/linux/bitfield.h:166:17: error: call to ‘__bad_mask’ declared with attribute error: bad bitfield mask 166 | __bad_mask(); | ^~~~~~~~~~~~ In function ‘u32_encode_bits’, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4338:9: ../include/linux/bitfield.h:178:17: error: call to ‘__field_overflow’ declared with attribute error: value doesn't fit into mask 178 | __field_overflow(); \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:198:9: note: in expansion of macro ‘____MAKE_OP’ 198 | ____MAKE_OP(u##size,u##size,,) | ^~~~~~~~~~~ ../include/linux/bitfield.h:201:1: note: in expansion of macro ‘__MAKE_OP’ 201 | __MAKE_OP(32) | ^~~~~~~~~ In function ‘field_multiplier’, inlined from ‘field_mask’ at ../include/linux/bitfield.h:171:17, inlined from ‘u32_encode_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4338:9: ../include/linux/bitfield.h:166:17: error: call to ‘__bad_mask’ declared with attribute error: bad bitfield mask 166 | __bad_mask(); | ^~~~~~~~~~~~ In function ‘field_multiplier’, inlined from ‘u32_encode_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4338:9: ../include/linux/bitfield.h:166:17: error: call to ‘__bad_mask’ declared with attribute error: bad bitfield mask 166 | __bad_mask(); | ^~~~~~~~~~~~ In function ‘u32_encode_bits’, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4338:9: ../include/linux/bitfield.h:178:17: error: call to ‘__field_overflow’ declared with attribute error: value doesn't fit into mask 178 | __field_overflow(); \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:198:9: note: in expansion of macro ‘____MAKE_OP’ 198 | ____MAKE_OP(u##size,u##size,,) | ^~~~~~~~~~~ ../include/linux/bitfield.h:201:1: note: in expansion of macro ‘__MAKE_OP’ 201 | __MAKE_OP(32) | ^~~~~~~~~ In function ‘u32_encode_bits’, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4333:9: ../include/linux/bitfield.h:178:17: error: call to ‘__field_overflow’ declared with attribute error: value doesn't fit into mask 178 | __field_overflow(); \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:198:9: note: in expansion of macro ‘____MAKE_OP’ 198 | ____MAKE_OP(u##size,u##size,,) | ^~~~~~~~~~~ ../include/linux/bitfield.h:201:1: note: in expansion of macro ‘__MAKE_OP’ 201 | __MAKE_OP(32) | ^~~~~~~~~ In function ‘field_multiplier’, inlined from ‘field_mask’ at ../include/linux/bitfield.h:171:17, inlined from ‘u32_encode_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4333:9: ../include/linux/bitfield.h:166:17: error: call to ‘__bad_mask’ declared with attribute error: bad bitfield mask 166 | __bad_mask(); | ^~~~~~~~~~~~ In function ‘u32_encode_bits’, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvneta_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvneta.c:4333:9: ../include/linux/bitfield.h:178:17: error: call to ‘__field_overflow’ declared with attribute error: value doesn't fit into mask 178 | __field_overflow(); \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:198:9: note: in expansion of macro ‘____MAKE_OP’ 198 | ____MAKE_OP(u##size,u##size,,) | ^~~~~~~~~~~ ../include/linux/bitfield.h:201:1: note: in expansion of macro ‘__MAKE_OP’ 201 | __MAKE_OP(32) | ^~~~~~~~~ make[7]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/marvell/mvneta.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../include/linux/fortify-string.h:5, from ../include/linux/string.h:389, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../arch/x86/include/asm/paravirt.h:21, from ../arch/x86/include/asm/irqflags.h:80, from ../include/linux/irqflags.h:18, from ../include/linux/spinlock.h:59, from ../include/linux/mmzone.h:8, from ../include/linux/gfp.h:7, from ../include/linux/slab.h:16, from ../include/linux/resource_ext.h:11, from ../include/linux/acpi.h:13, from ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:10: In function ‘u32_encode_bits’, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvpp2_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:6751:9: ../include/linux/bitfield.h:178:17: error: call to ‘__field_overflow’ declared with attribute error: value doesn't fit into mask 178 | __field_overflow(); \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:198:9: note: in expansion of macro ‘____MAKE_OP’ 198 | ____MAKE_OP(u##size,u##size,,) | ^~~~~~~~~~~ ../include/linux/bitfield.h:201:1: note: in expansion of macro ‘__MAKE_OP’ 201 | __MAKE_OP(32) | ^~~~~~~~~ In function ‘field_multiplier’, inlined from ‘field_mask’ at ../include/linux/bitfield.h:171:17, inlined from ‘u32_encode_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvpp2_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:6751:9: ../include/linux/bitfield.h:166:17: error: call to ‘__bad_mask’ declared with attribute error: bad bitfield mask 166 | __bad_mask(); | ^~~~~~~~~~~~ In function ‘u32_encode_bits’, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvpp2_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:6751:9: ../include/linux/bitfield.h:178:17: error: call to ‘__field_overflow’ declared with attribute error: value doesn't fit into mask 178 | __field_overflow(); \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/bitfield.h:198:9: note: in expansion of macro ‘____MAKE_OP’ 198 | ____MAKE_OP(u##size,u##size,,) | ^~~~~~~~~~~ ../include/linux/bitfield.h:201:1: note: in expansion of macro ‘__MAKE_OP’ 201 | __MAKE_OP(32) | ^~~~~~~~~ In function ‘field_multiplier’, inlined from ‘field_mask’ at ../include/linux/bitfield.h:171:17, inlined from ‘u32_encode_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvpp2_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:6751:9: ../include/linux/bitfield.h:166:17: error: call to ‘__bad_mask’ declared with attribute error: bad bitfield mask 166 | __bad_mask(); | ^~~~~~~~~~~~ In function ‘field_multiplier’, inlined from ‘u32_encode_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, inlined from ‘mvpp2_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:6751:9: ../include/linux/bitfield.h:166:17: error: call to ‘__bad_mask’ declared with attribute error: bad bitfield mask 166 | __bad_mask(); | ^~~~~~~~~~~~ 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.aLyBDlQrFt 2024-12-09 12:20:05.393558702 -0800 +++ /tmp/tmp.ext62wun7P 2024-12-09 12:20:19.296423859 -0800 @@ -1,6 +0,0 @@ -../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_bm_bufs_add' - different lock contexts for basic block -../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rxq_drop_pkts' - different lock contexts for basic block -../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx_refill' - different lock contexts for basic block -../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_buff_hdr_pool_put' - different lock contexts for basic block -../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx' - different lock contexts for basic block -../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4474:9: warning: context imbalance in 'mvpp2_tx' - different lock contexts for basic block @@ -143,0 +138,64 @@ +make[7]: *** Waiting for unfinished jobs.... +In file included from ../include/linux/fortify-string.h:5, + from ../include/linux/string.h:389, + from ../include/linux/bitmap.h:13, + from ../include/linux/cpumask.h:12, + from ../arch/x86/include/asm/paravirt.h:21, + from ../arch/x86/include/asm/irqflags.h:80, + from ../include/linux/irqflags.h:18, + from ../include/linux/spinlock.h:59, + from ../include/linux/mmzone.h:8, + from ../include/linux/gfp.h:7, + from ../include/linux/slab.h:16, + from ../include/linux/resource_ext.h:11, + from ../include/linux/acpi.h:13, + from ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:10: +In function ‘u32_encode_bits’, + inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, + inlined from ‘mvpp2_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:6751:9: +../include/linux/bitfield.h:178:17: error: call to ‘__field_overflow’ declared with attribute error: value doesn't fit into mask + 178 | __field_overflow(); \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:198:9: note: in expansion of macro ‘____MAKE_OP’ + 198 | ____MAKE_OP(u##size,u##size,,) + | ^~~~~~~~~~~ +../include/linux/bitfield.h:201:1: note: in expansion of macro ‘__MAKE_OP’ + 201 | __MAKE_OP(32) + | ^~~~~~~~~ +In function ‘field_multiplier’, + inlined from ‘field_mask’ at ../include/linux/bitfield.h:171:17, + inlined from ‘u32_encode_bits’ at ../include/linux/bitfield.h:201:1, + inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, + inlined from ‘mvpp2_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:6751:9: +../include/linux/bitfield.h:166:17: error: call to ‘__bad_mask’ declared with attribute error: bad bitfield mask + 166 | __bad_mask(); + | ^~~~~~~~~~~~ +In function ‘u32_encode_bits’, + inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, + inlined from ‘mvpp2_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:6751:9: +../include/linux/bitfield.h:178:17: error: call to ‘__field_overflow’ declared with attribute error: value doesn't fit into mask + 178 | __field_overflow(); \ + | ^~~~~~~~~~~~~~~~~~ +../include/linux/bitfield.h:198:9: note: in expansion of macro ‘____MAKE_OP’ + 198 | ____MAKE_OP(u##size,u##size,,) + | ^~~~~~~~~~~ +../include/linux/bitfield.h:201:1: note: in expansion of macro ‘__MAKE_OP’ + 201 | __MAKE_OP(32) + | ^~~~~~~~~ +In function ‘field_multiplier’, + inlined from ‘field_mask’ at ../include/linux/bitfield.h:171:17, + inlined from ‘u32_encode_bits’ at ../include/linux/bitfield.h:201:1, + inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, + inlined from ‘mvpp2_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:6751:9: +../include/linux/bitfield.h:166:17: error: call to ‘__bad_mask’ declared with attribute error: bad bitfield mask + 166 | __bad_mask(); + | ^~~~~~~~~~~~ +In function ‘field_multiplier’, + inlined from ‘u32_encode_bits’ at ../include/linux/bitfield.h:201:1, + inlined from ‘u32_replace_bits’ at ../include/linux/bitfield.h:201:1, + inlined from ‘mvpp2_mac_enable_tx_lpi’ at ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:6751:9: +../include/linux/bitfield.h:166:17: error: call to ‘__bad_mask’ declared with attribute error: bad bitfield mask + 166 | __bad_mask(); + | ^~~~~~~~~~~~ +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.u1YDietyZv 2024-12-09 12:20:19.305423772 -0800 +++ /tmp/tmp.1xVbaahcvE 2024-12-09 12:20:19.307423752 -0800 @@ -1,2 +1 @@ - 6 ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c - 13 ../include/linux/bitfield.h + 18 ../include/linux/bitfield.h