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 ../drivers/net/ethernet/microchip/lan743x_main.c:3078:25: error: use of undeclared identifier 'adapter' 3078 | lan743x_mac_eee_enable(adapter, false); | ^ ../drivers/net/ethernet/microchip/lan743x_main.c:3089:20: error: use of undeclared identifier 'adapter' 3089 | lan743x_csr_write(adapter, MAC_EEE_TX_LPI_REQ_DLY_CNT, timer); | ^ ../drivers/net/ethernet/microchip/lan743x_main.c:3090:25: error: use of undeclared identifier 'adapter' 3090 | lan743x_mac_eee_enable(adapter, true); | ^ ../drivers/net/ethernet/microchip/lan743x_main.c:3097:24: error: use of undeclared identifier 'lan743x_mac_disable_tx_lpi'; 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:3076:13: note: 'mac_disable_tx_lpi' declared here 3076 | static void mac_disable_tx_lpi(struct phylink_config *config) | ^ ../drivers/net/ethernet/microchip/lan743x_main.c:3098:23: error: use of undeclared identifier 'lan743x_mac_enable_tx_lpi'; 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:3081:13: note: 'mac_enable_tx_lpi' declared here 3081 | static void mac_enable_tx_lpi(struct phylink_config *config, u32 timer, | ^ ../drivers/net/ethernet/microchip/lan743x_main.c:3113:26: error: no member named 'lpi_timer_max' in 'struct phylink_config' 3113 | adapter->phylink_config.lpi_timer_max = U32_MAX; | ~~~~~~~~~~~~~~~~~~~~~~~ ^ 6 errors generated. 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 ../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.xijLMFRZVc 2024-12-09 11:53:35.557696484 -0800 +++ /tmp/tmp.msn483Vmkc 2024-12-09 11:53:59.134474615 -0800 @@ -0,0 +1,31 @@ +../drivers/net/ethernet/microchip/lan743x_main.c:3078:25: error: use of undeclared identifier 'adapter' + 3078 | lan743x_mac_eee_enable(adapter, false); + | ^ +../drivers/net/ethernet/microchip/lan743x_main.c:3089:20: error: use of undeclared identifier 'adapter' + 3089 | lan743x_csr_write(adapter, MAC_EEE_TX_LPI_REQ_DLY_CNT, timer); + | ^ +../drivers/net/ethernet/microchip/lan743x_main.c:3090:25: error: use of undeclared identifier 'adapter' + 3090 | lan743x_mac_eee_enable(adapter, true); + | ^ +../drivers/net/ethernet/microchip/lan743x_main.c:3097:24: error: use of undeclared identifier 'lan743x_mac_disable_tx_lpi'; 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:3076:13: note: 'mac_disable_tx_lpi' declared here + 3076 | static void mac_disable_tx_lpi(struct phylink_config *config) + | ^ +../drivers/net/ethernet/microchip/lan743x_main.c:3098:23: error: use of undeclared identifier 'lan743x_mac_enable_tx_lpi'; 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:3081:13: note: 'mac_enable_tx_lpi' declared here + 3081 | static void mac_enable_tx_lpi(struct phylink_config *config, u32 timer, + | ^ +../drivers/net/ethernet/microchip/lan743x_main.c:3113:26: error: no member named 'lpi_timer_max' in 'struct phylink_config' + 3113 | adapter->phylink_config.lpi_timer_max = U32_MAX; + | ~~~~~~~~~~~~~~~~~~~~~~~ ^ +6 errors generated. +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.4mZw95ld7h 2024-12-09 11:53:59.148474483 -0800 +++ /tmp/tmp.MzAe3jsjnm 2024-12-09 11:53:59.157474398 -0800 @@ -0,0 +1 @@ + 6 ../drivers/net/ethernet/microchip/lan743x_main.c