tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: c35bd4e428856ed8c1fae7f7dfa08a9141c153d1 commit: f73f88acbc18a679def4c16eb8648cc279995075 [7337/10444] pinctrl: pinctrl-loongson2: add pinctrl driver support config: mips-randconfig-r022-20221124 compiler: mips64el-linux-gcc (GCC) 12.1.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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=f73f88acbc18a679def4c16eb8648cc279995075 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout f73f88acbc18a679def4c16eb8648cc279995075 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot Note: the linux-next/master HEAD c35bd4e428856ed8c1fae7f7dfa08a9141c153d1 builds fine. It may have been fixed somewhere. All errors (new ones prefixed by >>): mips64el-linux-ld: drivers/pinctrl/pinctrl-loongson2.o: in function `pinconf_generic_dt_node_to_map_all': >> include/linux/pinctrl/pinconf-generic.h:226: undefined reference to `pinconf_generic_dt_node_to_map' vim +226 include/linux/pinctrl/pinconf-generic.h 0d74d4a161c9f9 Linus Walleij 2013-08-15 217 e5530adc17a79f Andy Shevchenko 2022-10-07 218 static inline int pinconf_generic_dt_node_to_map_all(struct pinctrl_dev *pctldev, e5530adc17a79f Andy Shevchenko 2022-10-07 219 struct device_node *np_config, struct pinctrl_map **map, e5530adc17a79f Andy Shevchenko 2022-10-07 220 unsigned *num_maps) 31c89c95966719 Soren Brinkmann 2015-01-09 221 { 31c89c95966719 Soren Brinkmann 2015-01-09 222 /* 31c89c95966719 Soren Brinkmann 2015-01-09 223 * passing the type as PIN_MAP_TYPE_INVALID causes the underlying parser 31c89c95966719 Soren Brinkmann 2015-01-09 224 * to infer the map type from the DT properties used. 31c89c95966719 Soren Brinkmann 2015-01-09 225 */ 31c89c95966719 Soren Brinkmann 2015-01-09 @226 return pinconf_generic_dt_node_to_map(pctldev, np_config, map, num_maps, 31c89c95966719 Soren Brinkmann 2015-01-09 227 PIN_MAP_TYPE_INVALID); 31c89c95966719 Soren Brinkmann 2015-01-09 228 } 394349f7789fdf Linus Walleij 2011-11-24 229 :::::: The code at line 226 was first introduced by commit :::::: 31c89c959667194350f496947b576c149503ce98 pinctrl: pinconf-generic: Infer map type from DT property :::::: TO: Soren Brinkmann :::::: CC: Linus Walleij -- 0-DAY CI Kernel Test Service https://01.org/lkp