Hi Colin,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on next-20211217]
[cannot apply to net-next/master lee-mfd/for-mfd-next linusw-pinctrl/devel net/master
horms-ipvs/master linus/master v5.16-rc5 v5.16-rc4 v5.16-rc3 v5.16-rc5]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Colin-Foster/add-support-for-VSC...
base: c122052c3cb861b3e61a01d2c2ab9069e470663e
config: arc-buildonly-randconfig-r005-20211219
(
https://download.01.org/0day-ci/archive/20211219/202112190833.en1vY9gA-lk...)
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/0day-ci/linux/commit/769a8d735c3e2adee712e81ce5045b31f...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Colin-Foster/add-support-for-VSC75XX-control-over-SPI/20211219-055252
git checkout 769a8d735c3e2adee712e81ce5045b31fa096101
# 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=arc SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/net/mdio/mdio-mscc-miim.c:20:
> include/soc/mscc/ocelot.h:982:15: error: unknown type name
'regmap'
982 | static inline regmap *
| ^~~~~~
drivers/net/mdio/mdio-mscc-miim.c: In function 'mscc_miim_probe':
> drivers/net/mdio/mdio-mscc-miim.c:247:28: error: assignment to
'struct regmap *' from incompatible pointer type 'int *'
[-Werror=incompatible-pointer-types]
247 | mii_regmap =
ocelot_mfd_get_regmap_from_resource(dev->parent,
| ^
drivers/net/mdio/mdio-mscc-miim.c:230:31: warning: variable 'miim' set but not
used [-Wunused-but-set-variable]
230 | struct mscc_miim_dev *miim;
| ^~~~
cc1: some warnings being treated as errors
vim +/regmap +982 include/soc/mscc/ocelot.h
d8ea7ff3995ead Horatiu Vultur 2021-02-16 977
1fa702f9cd4ed2 Colin Foster 2021-12-18 978 #if IS_ENABLED(CONFIG_MFD_OCELOT_CORE)
1fa702f9cd4ed2 Colin Foster 2021-12-18 979 struct regmap
*ocelot_mfd_get_regmap_from_resource(struct device *dev,
1fa702f9cd4ed2 Colin Foster 2021-12-18 980 const struct resource *res);
1fa702f9cd4ed2 Colin Foster 2021-12-18 981 #else
1fa702f9cd4ed2 Colin Foster 2021-12-18 @982 static inline regmap *
1fa702f9cd4ed2 Colin Foster 2021-12-18 983 ocelot_mfd_get_regmap_from_resource(struct
device *dev,
1fa702f9cd4ed2 Colin Foster 2021-12-18 984 const struct resource *res)
1fa702f9cd4ed2 Colin Foster 2021-12-18 985 {
1fa702f9cd4ed2 Colin Foster 2021-12-18 986 return NULL;
1fa702f9cd4ed2 Colin Foster 2021-12-18 987 }
1fa702f9cd4ed2 Colin Foster 2021-12-18 988 #endif
1fa702f9cd4ed2 Colin Foster 2021-12-18 989
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org