tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 041fae9c105ae342a4245cf1e0dc56a23fbb9d3c commit: 565bfaf1f26af0e9fc9aafbb7053da1187afe9f4 drm/nouveau/mc/ga100: switch to using NV_PMC_DEVICE_ENABLE date: 5 weeks ago config: s390-randconfig-s052-20221214 compiler: s390-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=565bfaf1f26af0e9fc9aafbb7053da1187afe9f4 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 565bfaf1f26af0e9fc9aafbb7053da1187afe9f4 # 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=s390 SHELL=/bin/bash drivers/gpu/drm/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> drivers/gpu/drm/nouveau/nvkm/subdev/mc/ga100.c:51:1: sparse: sparse: symbol 'ga100_mc_device' was not declared. Should it be static? vim +/ga100_mc_device +51 drivers/gpu/drm/nouveau/nvkm/subdev/mc/ga100.c 49 50 const struct nvkm_mc_device_func > 51 ga100_mc_device = { 52 .enabled = ga100_mc_device_enabled, 53 .enable = ga100_mc_device_enable, 54 .disable = ga100_mc_device_disable, 55 }; 56 -- 0-DAY CI Kernel Test Service https://01.org/lkp