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]
Date:   Mon, 8 Aug 2022 22:19:55 +0800
From:   kernel test robot <lkp@...el.com>
To:     Ben Skeggs <bskeggs@...hat.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Dave Airlie <airlied@...hat.com>, Lyude Paul <lyude@...hat.com>
Subject: drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c:676:1: sparse:
 sparse: symbol 'gv100_disp_core_mthd_base' was not declared. Should it be
 static?

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   4e23eeebb2e57f5a28b36221aa776b5a1122dde5
commit: acbe9ecfb7fb14db868ddbeda8f43e623026316b drm/nouveau/disp: merge head/outp/ior code into chipset files
date:   13 days ago
config: alpha-randconfig-s031-20220807 (https://download.01.org/0day-ci/archive/20220808/202208082250.FRtA3DVc-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 12.1.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-39-gce1a6720-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=acbe9ecfb7fb14db868ddbeda8f43e623026316b
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout acbe9ecfb7fb14db868ddbeda8f43e623026316b
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=alpha SHELL=/bin/bash drivers/gpu/drm/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>

sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c:676:1: sparse: sparse: symbol 'gv100_disp_core_mthd_base' was not declared. Should it be static?

vim +/gv100_disp_core_mthd_base +676 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c

   632	
   633	static const struct nvkm_disp_mthd_list
   634	gv100_disp_core_mthd_head = {
   635		.mthd = 0x0400,
   636		.addr = 0x000400,
   637		.data = {
   638			{ 0x2000, 0x682000 },
   639			{ 0x2004, 0x682004 },
   640			{ 0x2008, 0x682008 },
   641			{ 0x200c, 0x68200c },
   642			{ 0x2014, 0x682014 },
   643			{ 0x2018, 0x682018 },
   644			{ 0x201c, 0x68201c },
   645			{ 0x2020, 0x682020 },
   646			{ 0x2028, 0x682028 },
   647			{ 0x202c, 0x68202c },
   648			{ 0x2030, 0x682030 },
   649			{ 0x2038, 0x682038 },
   650			{ 0x203c, 0x68203c },
   651			{ 0x2048, 0x682048 },
   652			{ 0x204c, 0x68204c },
   653			{ 0x2050, 0x682050 },
   654			{ 0x2054, 0x682054 },
   655			{ 0x2058, 0x682058 },
   656			{ 0x205c, 0x68205c },
   657			{ 0x2060, 0x682060 },
   658			{ 0x2064, 0x682064 },
   659			{ 0x2068, 0x682068 },
   660			{ 0x206c, 0x68206c },
   661			{ 0x2070, 0x682070 },
   662			{ 0x2074, 0x682074 },
   663			{ 0x2078, 0x682078 },
   664			{ 0x207c, 0x68207c },
   665			{ 0x2080, 0x682080 },
   666			{ 0x2088, 0x682088 },
   667			{ 0x2090, 0x682090 },
   668			{ 0x209c, 0x68209c },
   669			{ 0x20a0, 0x6820a0 },
   670			{ 0x20a4, 0x6820a4 },
   671			{ 0x20a8, 0x6820a8 },
   672			{ 0x20ac, 0x6820ac },
   673			{ 0x2180, 0x682180 },
   674			{ 0x2184, 0x682184 },
   675			{ 0x218c, 0x68218c },
 > 676			{ 0x2194, 0x682194 },
   677			{ 0x2198, 0x682198 },
   678			{ 0x219c, 0x68219c },
   679			{ 0x21a0, 0x6821a0 },
   680			{ 0x21a4, 0x6821a4 },
   681			{ 0x2214, 0x682214 },
   682			{ 0x2218, 0x682218 },
   683			{}
   684		}
   685	};
   686	

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

Powered by blists - more mailing lists