Re: [PATCH v9 net-next 7/7] mfd: ocelot: add support for the vsc7512 chip via spi
From: kernel test robot <hidden>
Date: 2022-06-10 19:52:03
Also in:
linux-devicetree, linux-gpio, lkml, netdev
Hi Colin, I love your patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/intel-lab-lkp/linux/commits/Colin-Foster/add-support-for-VSC7512-control-over-SPI/20220611-015854 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 7defbc9aed2b1fdf21586b78e085c468fd95a2d1 config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220611/202206110358.2hO4gzbU-lkp@intel.com/config) compiler: arceb-elf-gcc (GCC) 11.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 # https://github.com/intel-lab-lkp/linux/commit/be13bccb3f0b376d8d189aa8d14e5b461701f4db git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Colin-Foster/add-support-for-VSC7512-control-over-SPI/20220611-015854 git checkout be13bccb3f0b376d8d189aa8d14e5b461701f4db # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash drivers/mfd/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <redacted> All warnings (new ones prefixed by >>):
quoted
drivers/mfd/ocelot-core.c:81:16: warning: no previous prototype for 'ocelot_init_regmap_from_resource' [-Wmissing-prototypes]
81 | struct regmap *ocelot_init_regmap_from_resource(struct device *child,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/ocelot_init_regmap_from_resource +81 drivers/mfd/ocelot-core.c
80
> 81 struct regmap *ocelot_init_regmap_from_resource(struct device *child,
82 const struct resource *res)
83 {
84 struct device *dev = child->parent;
85
86 return ocelot_spi_init_regmap(dev, child, res);
87 }
88 EXPORT_SYMBOL_NS(ocelot_init_regmap_from_resource, MFD_OCELOT);
89
--
0-DAY CI Kernel Test Service
https://01.org/lkp
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel