[csky-linux:linux-5.15-rc1-d1-v4 7/7] drivers/net/ethernet/allwinnertmp/sunxi-gmac.c:165:6: warning: no previous prototype for 'sunxi_udelay'

From: kernel test robot
Date: Sat Sep 04 2021 - 08:53:08 EST


tree: https://github.com/c-sky/csky-linux linux-5.15-rc1-d1-v4
head: 88c6ea42e010e46e58be159efa07cda22d95a512
commit: 88c6ea42e010e46e58be159efa07cda22d95a512 [7/7] riscv: soc: (not ready) Allwinner D1 GMAC driver
config: arc-randconfig-r043-20210904 (attached as .config)
compiler: arc-elf-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/c-sky/csky-linux/commit/88c6ea42e010e46e58be159efa07cda22d95a512
git remote add csky-linux https://github.com/c-sky/csky-linux
git fetch --no-tags csky-linux linux-5.15-rc1-d1-v4
git checkout 88c6ea42e010e46e58be159efa07cda22d95a512
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> drivers/net/ethernet/allwinnertmp/sunxi-gmac.c:165:6: warning: no previous prototype for 'sunxi_udelay' [-Wmissing-prototypes]
165 | void sunxi_udelay(int n)
| ^~~~~~~~~~~~
>> drivers/net/ethernet/allwinnertmp/sunxi-gmac.c:1752:5: warning: no previous prototype for 'geth_set_features' [-Wmissing-prototypes]
1752 | int geth_set_features(struct net_device *ndev, netdev_features_t features)
| ^~~~~~~~~~~~~~~~~
--
>> drivers/net/ethernet/allwinnertmp/sunxi-gmac-ops.c:521:6: warning: no previous prototype for 'sunxi_rx_poll' [-Wmissing-prototypes]
521 | void sunxi_rx_poll(void *iobase)
| ^~~~~~~~~~~~~


vim +/sunxi_udelay +165 drivers/net/ethernet/allwinnertmp/sunxi-gmac.c

164
> 165 void sunxi_udelay(int n)
166 {
167 udelay(n);
168 }
169

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip