Re: [esmil:visionfive-5.16.y 61/80] drivers/net/phy/motorcomm.c:163:5: warning: no previous prototype for 'genphy_config_init'

From: Emil Renner Berthing
Date: Tue Jan 18 2022 - 15:48:24 EST


On Tue, 18 Jan 2022 at 20:13, kernel test robot <lkp@xxxxxxxxx> wrote:
> tree: https://github.com/esmil/linux visionfive-5.16.y
> head: eeeb46a916e77aecbe1699537a5592746f3130f6
> commit: d4993dd33c50b5ea0db8f5a8cdcd0dee5458b299 [61/80] net: phy: motorcomm: Support the YT8521 gigabit PHY
> config: ia64-randconfig-r021-20220116 (https://download.01.org/0day-ci/archive/20220119/202201190351.34Nj9vc7-lkp@xxxxxxxxx/config)
> compiler: ia64-linux-gcc (GCC) 11.2.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/esmil/linux/commit/d4993dd33c50b5ea0db8f5a8cdcd0dee5458b299
> git remote add esmil https://github.com/esmil/linux
> git fetch --no-tags esmil visionfive-5.16.y
> git checkout d4993dd33c50b5ea0db8f5a8cdcd0dee5458b299
> # save the config file to linux build tree
> mkdir build_dir
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/net/phy/
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@xxxxxxxxx>

Hi,

Thanks for the report and thanks for pointing the robot at this tree!

In the future it would be great if you could point it at the
visionfive branch instead since that where new development should land
first. Right now the visionfive-5.16.y branch is only "ahead" because
5.16.1 came out before 5.17-rc1.

Thanks,
/Emil