From: kernel test robot <lkp@intel.com>
To: Jinzhou Su <Jinzhou.Su@amd.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
linux-kernel@vger.kernel.org,
Alex Deucher <alexander.deucher@amd.com>,
Huang Rui <ray.huang@amd.com>
Subject: drivers/gpu/drm/amd/amdgpu/amdgpu_securedisplay.c:159:37: warning: unused variable 'amdgpu_securedisplay_debugfs_ops'
Date: Tue, 11 May 2021 03:01:33 +0800 [thread overview]
Message-ID: <202105110330.inKfAq4L-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2118 bytes --]
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@intel.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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 42014 bytes --]
next reply other threads:[~2021-05-10 19:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-10 19:01 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-04-09 14:59 kernel test robot
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=202105110330.inKfAq4L-lkp@intel.com \
--to=lkp@intel.com \
--cc=Jinzhou.Su@amd.com \
--cc=alexander.deucher@amd.com \
--cc=clang-built-linux@googlegroups.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ray.huang@amd.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
all inboxes | Powered by JetHome®