public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* drivers/pinctrl/samsung/pinctrl-exynos-arm64.c:773:31: sparse: sparse: symbol 'fsd_pin_ctrl' was not declared. Should it be static?
@ 2022-03-31 19:27 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-31 19:27 UTC (permalink / raw)
  To: Alim Akhtar; +Cc: kbuild-all, linux-kernel, Krzysztof Kozlowski, Ajay Kumar

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   787af64d05cd528aac9ad16752d11bb1c6061bb9
commit: 0d1b662c374c54bcf68bbcff3b71e6d6e945a7cf pinctrl: samsung: add FSD SoC specific data
date:   9 weeks ago
config: nios2-randconfig-s032-20220330 (https://download.01.org/0day-ci/archive/20220401/202204010337.mR35sknO-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.4-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0d1b662c374c54bcf68bbcff3b71e6d6e945a7cf
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 0d1b662c374c54bcf68bbcff3b71e6d6e945a7cf
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=nios2 SHELL=/bin/bash arch/nios2/ drivers/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
>> drivers/pinctrl/samsung/pinctrl-exynos-arm64.c:773:31: sparse: sparse: symbol 'fsd_pin_ctrl' was not declared. Should it be static?

vim +/fsd_pin_ctrl +773 drivers/pinctrl/samsung/pinctrl-exynos-arm64.c

   772	
 > 773	const struct samsung_pin_ctrl fsd_pin_ctrl[] __initconst = {
   774		{
   775			/* pin-controller instance 0 FSYS0 data */
   776			.pin_banks	= fsd_pin_banks0,
   777			.nr_banks	= ARRAY_SIZE(fsd_pin_banks0),
   778			.eint_gpio_init = exynos_eint_gpio_init,
   779			.suspend	= exynos_pinctrl_suspend,
   780			.resume		= exynos_pinctrl_resume,
   781		}, {
   782			/* pin-controller instance 1 PERIC data */
   783			.pin_banks	= fsd_pin_banks1,
   784			.nr_banks	= ARRAY_SIZE(fsd_pin_banks1),
   785			.eint_gpio_init = exynos_eint_gpio_init,
   786			.suspend	= exynos_pinctrl_suspend,
   787			.resume		= exynos_pinctrl_resume,
   788		}, {
   789			/* pin-controller instance 2 PMU data */
   790			.pin_banks	= fsd_pin_banks2,
   791			.nr_banks	= ARRAY_SIZE(fsd_pin_banks2),
   792		},
   793	};
   794	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-31 19:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-31 19:27 drivers/pinctrl/samsung/pinctrl-exynos-arm64.c:773:31: sparse: sparse: symbol 'fsd_pin_ctrl' was not declared. Should it be static? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox