Re: [PATCH] pinctrl: amd: isp411: Add amdisp GPIO pinctrl

From: kernel test robot
Date: Sat Mar 01 2025 - 22:44:29 EST


Hi Pratap,

kernel test robot noticed the following build warnings:

[auto build test WARNING on linusw-pinctrl/devel]
[also build test WARNING on linusw-pinctrl/for-next linus/master v6.14-rc4 next-20250228]
[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/Pratap-Nirujogi/pinctrl-amd-isp411-Add-amdisp-GPIO-pinctrl/20250301-011050
base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
patch link: https://lore.kernel.org/r/20250228165749.3476210-1-pratap.nirujogi%40amd.com
patch subject: [PATCH] pinctrl: amd: isp411: Add amdisp GPIO pinctrl
config: um-randconfig-r112-20250302 (https://download.01.org/0day-ci/archive/20250302/202503021137.LAkq3bMU-lkp@xxxxxxxxx/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project 14170b16028c087ca154878f5ed93d3089a965c6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250302/202503021137.LAkq3bMU-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/202503021137.LAkq3bMU-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> drivers/pinctrl/pinctrl-amdisp.c:113:26: sparse: sparse: symbol 'amdisp_pinctrl_ops' was not declared. Should it be static?

vim +/amdisp_pinctrl_ops +113 drivers/pinctrl/pinctrl-amdisp.c

112
> 113 const struct pinctrl_ops amdisp_pinctrl_ops = {
114 .get_groups_count = amdisp_get_groups_count,
115 .get_group_name = amdisp_get_group_name,
116 .get_group_pins = amdisp_get_group_pins,
117 };
118

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