lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204010337.mR35sknO-lkp@intel.com>
Date:   Fri, 1 Apr 2022 03:27:15 +0800
From:   kernel test robot <lkp@...el.com>
To:     Alim Akhtar <alim.akhtar@...sung.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Krzysztof Kozlowski <krzk@...nel.org>,
        Ajay Kumar <ajaykumar.rs@...sung.com>
Subject: drivers/pinctrl/samsung/pinctrl-exynos-arm64.c:773:31: sparse:
 sparse: symbol 'fsd_pin_ctrl' was not declared. Should it be static?

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ