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 ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/thread_info.h:12, from ../include/linux/thread_info.h:60, from ../include/linux/spinlock.h:60, 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 ../drivers/net/ethernet/microchip/lan743x_main.c: In function ‘mac_disable_tx_lpi’: ../drivers/net/ethernet/microchip/lan743x_main.c:3078:32: error: ‘adapter’ undeclared (first use in this function) 3078 | lan743x_mac_eee_enable(adapter, false); | ^~~~~~~ ../drivers/net/ethernet/microchip/lan743x_main.c:3078:32: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/ethernet/microchip/lan743x_main.c: In function ‘mac_enable_tx_lpi’: ../drivers/net/ethernet/microchip/lan743x_main.c:3089:27: error: ‘adapter’ undeclared (first use in this function) 3089 | lan743x_csr_write(adapter, MAC_EEE_TX_LPI_REQ_DLY_CNT, timer); | ^~~~~~~ ../drivers/net/ethernet/microchip/lan743x_main.c: At top level: ../drivers/net/ethernet/microchip/lan743x_main.c:3097:31: error: ‘lan743x_mac_disable_tx_lpi’ undeclared here (not in a function); did you mean ‘mac_disable_tx_lpi’? 3097 | .mac_disable_tx_lpi = lan743x_mac_disable_tx_lpi, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | mac_disable_tx_lpi ../drivers/net/ethernet/microchip/lan743x_main.c:3098:30: error: ‘lan743x_mac_enable_tx_lpi’ undeclared here (not in a function); did you mean ‘mac_enable_tx_lpi’? 3098 | .mac_enable_tx_lpi = lan743x_mac_enable_tx_lpi, | ^~~~~~~~~~~~~~~~~~~~~~~~~ | mac_enable_tx_lpi ../drivers/net/ethernet/microchip/lan743x_main.c: In function ‘lan743x_phylink_create’: ../drivers/net/ethernet/microchip/lan743x_main.c:3113:33: error: ‘struct phylink_config’ has no member named ‘lpi_timer_max’; did you mean ‘lpi_timer_default’? 3113 | adapter->phylink_config.lpi_timer_max = U32_MAX; | ^~~~~~~~~~~~~ | lpi_timer_default ../drivers/net/ethernet/microchip/lan743x_main.c: At top level: ../drivers/net/ethernet/microchip/lan743x_main.c:3081:13: warning: ‘mac_enable_tx_lpi’ defined but not used [-Wunused-function] 3081 | static void mac_enable_tx_lpi(struct phylink_config *config, u32 timer, | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/microchip/lan743x_main.c:3076:13: warning: ‘mac_disable_tx_lpi’ defined but not used [-Wunused-function] 3076 | static void mac_disable_tx_lpi(struct phylink_config *config) | ^~~~~~~~~~~~~~~~~~ make[7]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/microchip/lan743x_main.o] Error 1 make[7]: *** Waiting for unfinished jobs.... make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/microchip] Error 2 make[6]: *** 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 ../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 ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/thread_info.h:12, from ../include/linux/thread_info.h:60, from ../include/linux/spinlock.h:60, 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.Hs8vKuvhaR 2024-12-09 11:23:13.852147294 -0800 +++ /tmp/tmp.7UFoXDiPxK 2024-12-09 11:23:27.939016927 -0800 @@ -0,0 +1,34 @@ +../drivers/net/ethernet/microchip/lan743x_main.c: In function ‘mac_disable_tx_lpi’: +../drivers/net/ethernet/microchip/lan743x_main.c:3078:32: error: ‘adapter’ undeclared (first use in this function) + 3078 | lan743x_mac_eee_enable(adapter, false); + | ^~~~~~~ +../drivers/net/ethernet/microchip/lan743x_main.c:3078:32: note: each undeclared identifier is reported only once for each function it appears in +../drivers/net/ethernet/microchip/lan743x_main.c: In function ‘mac_enable_tx_lpi’: +../drivers/net/ethernet/microchip/lan743x_main.c:3089:27: error: ‘adapter’ undeclared (first use in this function) + 3089 | lan743x_csr_write(adapter, MAC_EEE_TX_LPI_REQ_DLY_CNT, timer); + | ^~~~~~~ +../drivers/net/ethernet/microchip/lan743x_main.c: At top level: +../drivers/net/ethernet/microchip/lan743x_main.c:3097:31: error: ‘lan743x_mac_disable_tx_lpi’ undeclared here (not in a function); did you mean ‘mac_disable_tx_lpi’? + 3097 | .mac_disable_tx_lpi = lan743x_mac_disable_tx_lpi, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ + | mac_disable_tx_lpi +../drivers/net/ethernet/microchip/lan743x_main.c:3098:30: error: ‘lan743x_mac_enable_tx_lpi’ undeclared here (not in a function); did you mean ‘mac_enable_tx_lpi’? + 3098 | .mac_enable_tx_lpi = lan743x_mac_enable_tx_lpi, + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + | mac_enable_tx_lpi +../drivers/net/ethernet/microchip/lan743x_main.c: In function ‘lan743x_phylink_create’: +../drivers/net/ethernet/microchip/lan743x_main.c:3113:33: error: ‘struct phylink_config’ has no member named ‘lpi_timer_max’; did you mean ‘lpi_timer_default’? + 3113 | adapter->phylink_config.lpi_timer_max = U32_MAX; + | ^~~~~~~~~~~~~ + | lpi_timer_default +../drivers/net/ethernet/microchip/lan743x_main.c: At top level: +../drivers/net/ethernet/microchip/lan743x_main.c:3081:13: warning: ‘mac_enable_tx_lpi’ defined but not used [-Wunused-function] + 3081 | static void mac_enable_tx_lpi(struct phylink_config *config, u32 timer, + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/microchip/lan743x_main.c:3076:13: warning: ‘mac_disable_tx_lpi’ defined but not used [-Wunused-function] + 3076 | static void mac_disable_tx_lpi(struct phylink_config *config) + | ^~~~~~~~~~~~~~~~~~ +make[7]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/microchip/lan743x_main.o] Error 1 +make[7]: *** Waiting for unfinished jobs.... +make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/microchip] Error 2 +make[6]: *** Waiting for unfinished jobs.... Per-file breakdown --- /tmp/tmp.3JoiRhJN3j 2024-12-09 11:23:27.947016853 -0800 +++ /tmp/tmp.rgesV8gFxB 2024-12-09 11:23:27.949016834 -0800 @@ -0,0 +1 @@ + 7 ../drivers/net/ethernet/microchip/lan743x_main.c