tree: https://github.com/intel-lab-lkp/linux/commits/UPDATE-20221001-164549/David-Yang/net-mv643xx_eth-support-MII-GMII-RGMII-modes/20221001-035040 head: f04abd726571839350e50c44874a07ccfe773986 commit: f04abd726571839350e50c44874a07ccfe773986 net: mv643xx_eth: support MII/GMII/RGMII modes for Kirkwood date: 9 hours ago config: powerpc-allmodconfig compiler: powerpc-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/f04abd726571839350e50c44874a07ccfe773986 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review UPDATE-20221001-164549/David-Yang/net-mv643xx_eth-support-MII-GMII-RGMII-modes/20221001-035040 git checkout f04abd726571839350e50c44874a07ccfe773986 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash arch/powerpc/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from include/linux/mv643xx.h:13, from arch/powerpc/platforms/chrp/pegasos_eth.c:17: >> include/linux/mv643xx_eth.h:62:9: error: unknown type name 'phy_interface_t' 62 | phy_interface_t interface; | ^~~~~~~~~~~~~~~ vim +/phy_interface_t +62 include/linux/mv643xx_eth.h 34 35 struct device_node; 36 struct mv643xx_eth_platform_data { 37 /* 38 * Pointer back to our parent instance, and our port number. 39 */ 40 struct platform_device *shared; 41 int port_number; 42 43 /* 44 * Whether a PHY is present, and if yes, at which address. 45 */ 46 int phy_addr; 47 struct device_node *phy_node; 48 49 /* 50 * Use this MAC address if it is valid, overriding the 51 * address that is already in the hardware. 52 */ 53 u8 mac_addr[ETH_ALEN]; 54 55 /* 56 * If speed is 0, autonegotiation is enabled. 57 * Valid values for speed: 0, SPEED_10, SPEED_100, SPEED_1000. 58 * Valid values for duplex: DUPLEX_HALF, DUPLEX_FULL. 59 */ 60 int speed; 61 int duplex; > 62 phy_interface_t interface; 63 64 /* 65 * How many RX/TX queues to use. 66 */ 67 int rx_queue_count; 68 int tx_queue_count; 69 70 /* 71 * Override default RX/TX queue sizes if nonzero. 72 */ 73 int rx_queue_size; 74 int tx_queue_size; 75 76 /* 77 * Use on-chip SRAM for RX/TX descriptors if size is nonzero 78 * and sufficient to contain all descriptors for the requested 79 * ring sizes. 80 */ 81 unsigned long rx_sram_addr; 82 int rx_sram_size; 83 unsigned long tx_sram_addr; 84 int tx_sram_size; 85 }; 86 87 -- 0-DAY CI Kernel Test Service https://01.org/lkp