tree: git://git.armlinux.org.uk/~rmk/linux-arm.git sa1100 head: 1b2ebea7666f89e5ab504e2a46a935f804c7f65e commit: 605584b1c77f0168d48af859c213034d1d2c66a2 [1/56] ARM: sa1100/neponset: add ethernet oscillator config: arm-neponset_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 9.3.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 git remote add arm git://git.armlinux.org.uk/~rmk/linux-arm.git git fetch --no-tags arm sa1100 git checkout 605584b1c77f0168d48af859c213034d1d2c66a2 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All error/warnings (new ones prefixed by >>): arch/arm/mach-sa1100/neponset.c: In function 'neponset_init_enet': >> arch/arm/mach-sa1100/neponset.c:238:21: error: implicit declaration of function 'clk_hw_register_gpio_gate'; did you mean 'clk_hw_register_gate'? [-Werror=implicit-function-declaration] 238 | d->enet_osc_gate = clk_hw_register_gpio_gate(dev, "nep_enet_gate", | ^~~~~~~~~~~~~~~~~~~~~~~~~ | clk_hw_register_gate >> arch/arm/mach-sa1100/neponset.c:238:19: warning: assignment to 'struct clk_hw *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 238 | d->enet_osc_gate = clk_hw_register_gpio_gate(dev, "nep_enet_gate", | ^ cc1: some warnings being treated as errors vim +238 arch/arm/mach-sa1100/neponset.c 226 227 static int neponset_init_enet(struct device *dev, struct neponset_drvdata *d) 228 { 229 struct gpio_desc *gpio; 230 int ret; 231 232 d->enet_osc_ck = clk_hw_register_fixed_rate(dev, "nep_enet_osc", 233 NULL, 0, 20000000); 234 if (IS_ERR(d->enet_osc_ck)) 235 return PTR_ERR(d->enet_osc_ck); 236 237 gpio = gpio_to_desc(d->gpio[0]->base + 3); > 238 d->enet_osc_gate = clk_hw_register_gpio_gate(dev, "nep_enet_gate", 239 "nep_enet_osc", gpio, 0); 240 if (IS_ERR(d->enet_osc_gate)) { 241 ret = PTR_ERR(d->enet_osc_gate); 242 goto err; 243 } 244 245 d->enet_osc_cl = clkdev_hw_create(d->enet_osc_gate, NULL, "smc91x.0"); 246 if (!d->enet_osc_cl) { 247 ret = -ENOMEM; 248 goto err; 249 } 250 251 return 0; 252 253 err: 254 if (d->enet_osc_ck) 255 clk_hw_unregister_fixed_rate(d->enet_osc_ck); 256 return ret; 257 } 258 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org