Messages in this thread | | | Date | Mon, 15 Aug 2022 00:52:24 +0800 | From | kernel test robot <> | Subject | drivers/gpu/host1x/fence.c:102:28: sparse: sparse: symbol 'host1x_syncpt_fence_ops' was not declared. Should it be static? |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: aea23e7c464bfdec04b52cf61edb62030e9e0d0a commit: 687db2207b1bc94ca34743871167923a6de78d85 gpu: host1x: Add DMA fence implementation date: 1 year ago config: arm-randconfig-s033-20220728 (https://download.01.org/0day-ci/archive/20220815/202208150053.eWHhHZa0-lkp@intel.com/config) compiler: arm-linux-gnueabi-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=687db2207b1bc94ca34743871167923a6de78d85 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 687db2207b1bc94ca34743871167923a6de78d85 # 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=arm SHELL=/bin/bash drivers/gpu/host1x/ lib/xz/
If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>) >> drivers/gpu/host1x/fence.c:102:28: sparse: sparse: symbol 'host1x_syncpt_fence_ops' was not declared. Should it be static?
vim +/host1x_syncpt_fence_ops +102 drivers/gpu/host1x/fence.c
101 > 102 const struct dma_fence_ops host1x_syncpt_fence_ops = { 103 .get_driver_name = host1x_syncpt_fence_get_driver_name, 104 .get_timeline_name = host1x_syncpt_fence_get_timeline_name, 105 .enable_signaling = host1x_syncpt_fence_enable_signaling, 106 .release = host1x_syncpt_fence_release, 107 }; 108
-- 0-DAY CI Kernel Test Service https://01.org/lkp
| |