lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Wed, 17 Nov 2021 22:04:57 +0800
From:   kernel test robot <lkp@...el.com>
To:     Rob Clark <robdclark@...omium.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Dave Airlie <airlied@...hat.com>
Subject: drivers/gpu/drm/msm/msm_gem_shrinker.c:17:6: sparse: sparse: symbol
 'enable_eviction' was not declared. Should it be static?

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@...el.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@...omium.org>
:::::: CC: Rob Clark <robdclark@...omium.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (35514 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ