Skip to contentSkip to conversation

drivers/accel/amdxdna/aie2_ctx.c:24:6: sparse: sparse: symbol 'force_cmdlist' was not declared. Should it be static?

PATCH kernel test robot 1 participant 1 message Dec 31, 2024

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   8155b4ef3466f0e289e8fcc9e6e62f3f4dceeac2
commit: aac243092b707bb3018e951d470cc1a9bcbaba6c [480/5236] accel/amdxdna: Add command execution
config: x86_64-randconfig-122-20241231 (https://download.01.org/0day-ci/archive/20241231/[email protected]/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241231/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

sparse warnings: (new ones prefixed by >>)

>> drivers/accel/amdxdna/aie2_ctx.c:24:6: sparse: sparse: symbol 'force_cmdlist' was not declared. Should it be static?

vim +/force_cmdlist +24 drivers/accel/amdxdna/aie2_ctx.c

    23	
  > 24	bool force_cmdlist;
    25	module_param(force_cmdlist, bool, 0600);
    26	MODULE_PARM_DESC(force_cmdlist, "Force use command list (Default false)");
    27	
Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki