linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/gpu/host1x/fence.c:102:28: sparse: sparse: symbol 'host1x_syncpt_fence_ops' was not declared. Should it be static?
@ 2022-08-14 16:52 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-08-14 16:52 UTC (permalink / raw)
  To: Mikko Perttunen; +Cc: kbuild-all, linux-kernel, Thierry Reding

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-14 16:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-14 16:52 drivers/gpu/host1x/fence.c:102:28: sparse: sparse: symbol 'host1x_syncpt_fence_ops' was not declared. Should it be static? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).