[esmil:visionfive 41/45] drivers/nvdla/engine.c:86:9: sparse: sparse: symbol 'bdma_grp_sts' was not declared. Should it be static?

From: kernel test robot
Date: Tue Aug 02 2022 - 05:38:26 EST


tree: https://github.com/esmil/linux visionfive
head: d02aa65a24f3cd0d7771349c8812b63482a2bce6
commit: d33164ce8bcd550cd4c8bd902aacfb5f1c971ba6 [41/45] nvdla: add NVDLA driver
config: x86_64-allmodconfig (https://download.01.org/0day-ci/archive/20220802/202208021719.D3UpRJ0t-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
# https://github.com/esmil/linux/commit/d33164ce8bcd550cd4c8bd902aacfb5f1c971ba6
git remote add esmil https://github.com/esmil/linux
git fetch --no-tags esmil visionfive
git checkout d33164ce8bcd550cd4c8bd902aacfb5f1c971ba6
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/nvdla/

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

sparse warnings: (new ones prefixed by >>)
>> drivers/nvdla/engine.c:86:9: sparse: sparse: symbol 'bdma_grp_sts' was not declared. Should it be static?
>> drivers/nvdla/engine.c:91:21: sparse: sparse: symbol 'roi_desc' was not declared. Should it be static?

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