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]
Message-ID: <202105110330.inKfAq4L-lkp@intel.com>
Date:   Tue, 11 May 2021 03:01:33 +0800
From:   kernel test robot <lkp@...el.com>
To:     Jinzhou Su <Jinzhou.Su@....com>
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        linux-kernel@...r.kernel.org,
        Alex Deucher <alexander.deucher@....com>,
        Huang Rui <ray.huang@....com>
Subject: drivers/gpu/drm/amd/amdgpu/amdgpu_securedisplay.c:159:37: warning:
 unused variable 'amdgpu_securedisplay_debugfs_ops'

Hi Jinzhou,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   6efb943b8616ec53a5e444193dccf1af9ad627b5
commit: ecaafb7b5ab6406587341d8727f237b3ee00dedf drm/amdgpu: Add secure display TA interface
date:   4 months ago
config: arm64-randconfig-r014-20210510 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 492173d42b32cb91d5d0d72d5ed84fcab80d059a)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ecaafb7b5ab6406587341d8727f237b3ee00dedf
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout ecaafb7b5ab6406587341d8727f237b3ee00dedf
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/amd/amdgpu/amdgpu_securedisplay.c:159:37: warning: unused variable 'amdgpu_securedisplay_debugfs_ops' [-Wunused-const-variable]
   static const struct file_operations amdgpu_securedisplay_debugfs_ops = {
                                       ^
   1 warning generated.


vim +/amdgpu_securedisplay_debugfs_ops +159 drivers/gpu/drm/amd/amdgpu/amdgpu_securedisplay.c

   158	
 > 159	static const struct file_operations amdgpu_securedisplay_debugfs_ops = {
   160		.owner = THIS_MODULE,
   161		.read = NULL,
   162		.write = amdgpu_securedisplay_debugfs_write,
   163		.llseek = default_llseek
   164	};
   165	

---
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" (42014 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ