[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202212160339.7aO4yk7n-lkp@intel.com>
Date: Fri, 16 Dec 2022 03:29:36 +0800
From: kernel test robot <lkp@...el.com>
To: Ben Skeggs <bskeggs@...hat.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Lyude Paul <lyude@...hat.com>
Subject: drivers/gpu/drm/nouveau/nvkm/subdev/mc/ga100.c:51:1: sparse: sparse:
symbol 'ga100_mc_device' was not declared. Should it be static?
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 <lkp@...el.com>
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
View attachment "config" of type "text/plain" (174595 bytes)
Powered by blists - more mailing lists