linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/gpu/drm/msm/msm_gem_shrinker.c:17:6: sparse: sparse: symbol 'enable_eviction' was not declared. Should it be static?
@ 2021-11-17 14:04 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-17 14:04 UTC (permalink / raw)
  To: Rob Clark; +Cc: kbuild-all, linux-kernel, Dave Airlie

[-- 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 --]

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

only message in thread, other threads:[~2021-11-17 14:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17 14:04 drivers/gpu/drm/msm/msm_gem_shrinker.c:17:6: sparse: sparse: symbol 'enable_eviction' 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).