From: kernel test robot <lkp@intel.com>
To: Rob Clark <robdclark@chromium.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Dave Airlie <airlied@redhat.com>
Subject: drivers/gpu/drm/msm/msm_gem_shrinker.c:17:6: sparse: sparse: symbol 'enable_eviction' was not declared. Should it be static?
Date: Wed, 17 Nov 2021 22:04:57 +0800 [thread overview]
Message-ID: <202111172236.hOlBZXdq-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2505 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8ab774587903771821b59471cc723bba6d893942
commit: de99e6479885dfa3f64a9511a6477c2b7899e53f Merge tag 'drm-msm-next-2021-10-26' of https://gitlab.freedesktop.org/drm/msm into drm-next
date: 3 weeks ago
config: alpha-randconfig-s031-20211117 (attached as .config)
compiler: alpha-linux-gcc (GCC) 11.2.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-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=de99e6479885dfa3f64a9511a6477c2b7899e53f
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout de99e6479885dfa3f64a9511a6477c2b7899e53f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=alpha SHELL=/bin/bash drivers/gpu/drm/msm/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/msm/msm_gem_shrinker.c:17:6: sparse: sparse: symbol 'enable_eviction' was not declared. Should it be static?
vim +/enable_eviction +17 drivers/gpu/drm/msm/msm_gem_shrinker.c
68209390f116034 Rob Clark 2016-05-17 13
63f17ef834284d9 Rob Clark 2021-04-05 14 /* Default disabled for now until it has some more testing on the different
63f17ef834284d9 Rob Clark 2021-04-05 15 * iommu combinations that can be paired with the driver:
63f17ef834284d9 Rob Clark 2021-04-05 16 */
63f17ef834284d9 Rob Clark 2021-04-05 @17 bool enable_eviction = false;
63f17ef834284d9 Rob Clark 2021-04-05 18 MODULE_PARM_DESC(enable_eviction, "Enable swappable GEM buffers");
63f17ef834284d9 Rob Clark 2021-04-05 19 module_param(enable_eviction, bool, 0600);
63f17ef834284d9 Rob Clark 2021-04-05 20
:::::: The code at line 17 was first introduced by commit
:::::: 63f17ef834284d9a1fa72b548a86fee1ccd01a45 drm/msm: Support evicting GEM objects to swap
:::::: TO: Rob Clark <robdclark@chromium.org>
:::::: CC: Rob Clark <robdclark@chromium.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 35514 bytes --]
reply other threads:[~2021-11-17 14:06 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=202111172236.hOlBZXdq-lkp@intel.com \
--to=lkp@intel.com \
--cc=airlied@redhat.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robdclark@chromium.org \
/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;
as well as URLs for NNTP newsgroup(s).