From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============8319630126480532241==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [RFC v5 net-next 10/13] net: mdio: mscc-miim: add MFD functionality through ocelot-core Date: Sun, 19 Dec 2021 08:13:15 +0800 Message-ID: <202112190833.en1vY9gA-lkp@intel.com> In-Reply-To: <20211218214954.109755-11-colin.foster@in-advantage.com> List-Id: --===============8319630126480532241== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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-f= or-VSC75XX-control-over-SPI/20211219-055252 base: c122052c3cb861b3e61a01d2c2ab9069e470663e config: arc-buildonly-randconfig-r005-20211219 (https://download.01.org/0da= y-ci/archive/20211219/202112190833.en1vY9gA-lkp(a)intel.com/config) compiler: arc-elf-gcc (GCC) 11.2.0 reproduce (this is a W=3D1 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/769a8d735c3e2adee712e81ce= 5045b31fa096101 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Colin-Foster/add-support-for-VSC75= XX-control-over-SPI/20211219-055252 git checkout 769a8d735c3e2adee712e81ce5045b31fa096101 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= O=3Dbuild_dir ARCH=3Darc SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot 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 r= egmap *' from incompatible pointer type 'int *' [-Werror=3Dincompatible-poi= nter-types] 247 | mii_regmap =3D ocelot_mfd_get_regmap_from_resour= ce(dev->parent, | ^ drivers/net/mdio/mdio-mscc-miim.c:230:31: warning: variable 'miim' set b= ut 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_OC= ELOT_CORE) 1fa702f9cd4ed2 Colin Foster 2021-12-18 979 struct regmap *ocelot_mfd_ge= t_regmap_from_resource(struct device *dev, 1fa702f9cd4ed2 Colin Foster 2021-12-18 980 const struct resour= ce *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_r= esource(struct device *dev, 1fa702f9cd4ed2 Colin Foster 2021-12-18 984 const struct resourc= e *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(a)lists.01.org --===============8319630126480532241==--