From: kernel test robot <lkp@intel.com>
To: Mikko Perttunen <mperttunen@nvidia.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Thierry Reding <treding@nvidia.com>
Subject: drivers/gpu/host1x/fence.c:102:28: sparse: sparse: symbol 'host1x_syncpt_fence_ops' was not declared. Should it be static?
Date: Mon, 15 Aug 2022 00:52:24 +0800 [thread overview]
Message-ID: <202208150053.eWHhHZa0-lkp@intel.com> (raw)
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
reply other threads:[~2022-08-14 16:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202208150053.eWHhHZa0-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mperttunen@nvidia.com \
--cc=treding@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox