Re: [PATCH v1 04/11] pinctrl: aw9523: Make use of struct pinfunction and PINCTRL_PINFUNCTION()

From: kernel test robot
Date: Thu Mar 14 2024 - 18:23:56 EST


Hi Andy,

kernel test robot noticed the following build errors:

[auto build test ERROR on linusw-pinctrl/devel]
[also build test ERROR on linusw-pinctrl/for-next linus/master next-20240314]
[cannot apply to v6.8]
[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#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Andy-Shevchenko/pinctrl-aw9523-Destroy-mutex-on-remove/20240314-075853
base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
patch link: https://lore.kernel.org/r/20240313235422.180075-5-andy.shevchenko%40gmail.com
patch subject: [PATCH v1 04/11] pinctrl: aw9523: Make use of struct pinfunction and PINCTRL_PINFUNCTION()
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20240315/202403150648.HPQmT2Ob-lkp@xxxxxxxxx/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240315/202403150648.HPQmT2Ob-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403150648.HPQmT2Ob-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

drivers/pinctrl/pinctrl-aw9523.c: In function 'aw9523_pmx_get_groups':
>> drivers/pinctrl/pinctrl-aw9523.c:170:36: error: 'const struct pinfunction' has no member named 'ngrpoups'; did you mean 'ngroups'?
170 | *ngroups = aw9523_pmx[sel].ngrpoups;
| ^~~~~~~~
| ngroups


vim +170 drivers/pinctrl/pinctrl-aw9523.c

164
165 static int aw9523_pmx_get_groups(struct pinctrl_dev *pctl, unsigned int sel,
166 const char * const **groups,
167 unsigned int * const ngroups)
168 {
169 *groups = aw9523_pmx[sel].groups;
> 170 *ngroups = aw9523_pmx[sel].ngrpoups;
171 return 0;
172 }
173

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki