lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202210020108.UlXaYP3c-lkp@intel.com>
Date:   Sun, 2 Oct 2022 01:21:49 +0800
From:   kernel test robot <lkp@...el.com>
To:     David Yang <mmyangfl@...il.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        0day robot <lkp@...el.com>
Subject: include/linux/mv643xx_eth.h:62:9: error: unknown type name
 'phy_interface_t'

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 <lkp@...el.com>

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

View attachment "config" of type "text/plain" (319483 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ