========== build_32bit - FAILED In file included from ../include/linux/device/driver.h:21, from ../include/linux/device.h:32, from ../include/linux/dma-mapping.h:5, from ../include/linux/skbuff.h:28, from ../include/linux/if_ether.h:19, from ../include/linux/ethtool.h:18, from ../include/linux/linkmode.h:5, from ../include/linux/mii.h:13, from ../include/uapi/linux/mdio.h:15, from ../include/linux/mdio.h:9, from ../drivers/net/pcs/pcs-xilinx.c:34: ../drivers/net/pcs/pcs-xilinx.c:421:25: error: ‘xilinx_timer_of_match’ undeclared here (not in a function); did you mean ‘xilinx_pcs_of_match’? 421 | MODULE_DEVICE_TABLE(of, xilinx_timer_of_match); | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/module.h:250:15: note: in definition of macro ‘MODULE_DEVICE_TABLE’ 250 | extern typeof(name) __mod_device_table__##type##__##name \ | ^~~~ ../drivers/net/pcs/pcs-xilinx.c:463:21: error: redefinition of ‘axienet_xilinx_pcs_get’ 463 | struct phylink_pcs *axienet_xilinx_pcs_get(struct device *dev, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/pcs/pcs-xilinx.c:37: ../include/linux/pcs-xilinx.h:30:1: note: previous definition of ‘axienet_xilinx_pcs_get’ with type ‘struct phylink_pcs *(struct device *, const long unsigned int *)’ 30 | axienet_xilinx_pcs_get(struct device *dev, const unsigned long *interfaces) | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/module.h:250:21: error: ‘__mod_device_table__of__xilinx_timer_of_match’ aliased to undefined symbol ‘xilinx_timer_of_match’ 250 | extern typeof(name) __mod_device_table__##type##__##name \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/pcs/pcs-xilinx.c:421:1: note: in expansion of macro ‘MODULE_DEVICE_TABLE’ 421 | MODULE_DEVICE_TABLE(of, xilinx_timer_of_match); | ^~~~~~~~~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:207: drivers/net/pcs/pcs-xilinx.o] Error 1 make[5]: *** [../scripts/Makefile.build:465: drivers/net/pcs] Error 2 make[5]: *** Waiting for unfinished jobs.... ../drivers/net/ethernet/cadence/macb_main.c: In function ‘macb_pcs_get_state’: ../drivers/net/ethernet/cadence/macb_main.c:557:9: error: too few arguments to function ‘phylink_mii_c22_pcs_decode_state’ 557 | phylink_mii_c22_pcs_decode_state(state, gem_readl(bp, PCSSTS), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ethernet/cadence/macb_main.c:25: ../include/linux/phylink.h:800:6: note: declared here 800 | void phylink_mii_c22_pcs_decode_state(struct phylink_link_state *state, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cadence/macb_main.c: At top level: ../drivers/net/ethernet/cadence/macb_main.c:699:26: error: initialization of ‘void (*)(struct phylink_pcs *, unsigned int, struct phylink_link_state *)’ from incompatible pointer type ‘void (*)(struct phylink_pcs *, struct phylink_link_state *)’ [-Wincompatible-pointer-types] 699 | .pcs_get_state = macb_pcs_get_state, | ^~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cadence/macb_main.c:699:26: note: (near initialization for ‘macb_phylink_pcs_ops.pcs_get_state’) make[7]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/cadence/macb_main.o] Error 1 make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/cadence] Error 2 make[5]: *** [../scripts/Makefile.build:465: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:465: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1997: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 In file included from ../include/linux/device/driver.h:21, from ../include/linux/device.h:32, from ../include/linux/dma-mapping.h:5, from ../include/linux/skbuff.h:28, from ../include/linux/if_ether.h:19, from ../include/linux/ethtool.h:18, from ../include/linux/linkmode.h:5, from ../include/linux/mii.h:13, from ../include/uapi/linux/mdio.h:15, from ../include/linux/mdio.h:9, from ../drivers/net/pcs/pcs-xilinx.c:34: ../drivers/net/pcs/pcs-xilinx.c:421:25: error: ‘xilinx_timer_of_match’ undeclared here (not in a function); did you mean ‘xilinx_pcs_of_match’? 421 | MODULE_DEVICE_TABLE(of, xilinx_timer_of_match); | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/module.h:250:15: note: in definition of macro ‘MODULE_DEVICE_TABLE’ 250 | extern typeof(name) __mod_device_table__##type##__##name \ | ^~~~ ../drivers/net/pcs/pcs-xilinx.c:463:21: error: redefinition of ‘axienet_xilinx_pcs_get’ 463 | struct phylink_pcs *axienet_xilinx_pcs_get(struct device *dev, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/pcs/pcs-xilinx.c:37: ../include/linux/pcs-xilinx.h:30:1: note: previous definition of ‘axienet_xilinx_pcs_get’ with type ‘struct phylink_pcs *(struct device *, const long unsigned int *)’ 30 | axienet_xilinx_pcs_get(struct device *dev, const unsigned long *interfaces) | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/module.h:250:21: error: ‘__mod_device_table__of__xilinx_timer_of_match’ aliased to undefined symbol ‘xilinx_timer_of_match’ 250 | extern typeof(name) __mod_device_table__##type##__##name \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/pcs/pcs-xilinx.c:421:1: note: in expansion of macro ‘MODULE_DEVICE_TABLE’ 421 | MODULE_DEVICE_TABLE(of, xilinx_timer_of_match); | ^~~~~~~~~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:207: drivers/net/pcs/pcs-xilinx.o] Error 1 make[5]: *** [../scripts/Makefile.build:465: drivers/net/pcs] Error 2 make[5]: *** Waiting for unfinished jobs.... ../drivers/net/ethernet/cadence/macb_main.c:577: warning: Function parameter or struct member 'bp' not described in 'macb_pcs_config_an' ../drivers/net/ethernet/cadence/macb_main.c:577: warning: Function parameter or struct member 'neg_mode' not described in 'macb_pcs_config_an' ../drivers/net/ethernet/cadence/macb_main.c:577: warning: Function parameter or struct member 'interface' not described in 'macb_pcs_config_an' ../drivers/net/ethernet/cadence/macb_main.c:577: warning: Function parameter or struct member 'advertising' not described in 'macb_pcs_config_an' make[4]: *** [../scripts/Makefile.build:465: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1997: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2