* [linux-next:master 2077/2270] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/navi10_ppt.c:2532:35: warning: unused variable 'navi10_i2c_algo'
@ 2020-10-28 18:01 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-10-28 18:01 UTC (permalink / raw)
To: Alex Deucher
Cc: kbuild-all, clang-built-linux, Linux Memory Management List, Evan Quan
[-- Attachment #1: Type: text/plain, Size: 2850 bytes --]
Hi Alex,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 1c86f90a16d413621918ae1403842b43632f0b3d
commit: 19cc89dcb94b47a015fece85db685f1a2563a422 [2077/2270] drm/amdgpu/swsmu: drop smu i2c bus on navi1x
config: arm64-randconfig-r004-20201028 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 50dfa19cc799ae7cddd39a95dbfce675a12672ad)
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/next/linux-next.git/commit/?id=19cc89dcb94b47a015fece85db685f1a2563a422
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 19cc89dcb94b47a015fece85db685f1a2563a422
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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/../pm/swsmu/smu11/navi10_ppt.c:2532:35: warning: unused variable 'navi10_i2c_algo' [-Wunused-const-variable]
static const struct i2c_algorithm navi10_i2c_algo = {
^
1 warning generated.
vim +/navi10_i2c_algo +2532 drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/navi10_ppt.c
1bc734759f284eb drivers/gpu/drm/amd/powerplay/navi10_ppt.c Alex Deucher 2020-07-19 2530
1bc734759f284eb drivers/gpu/drm/amd/powerplay/navi10_ppt.c Alex Deucher 2020-07-19 2531
1bc734759f284eb drivers/gpu/drm/amd/powerplay/navi10_ppt.c Alex Deucher 2020-07-19 @2532 static const struct i2c_algorithm navi10_i2c_algo = {
1bc734759f284eb drivers/gpu/drm/amd/powerplay/navi10_ppt.c Alex Deucher 2020-07-19 2533 .master_xfer = navi10_i2c_xfer,
1bc734759f284eb drivers/gpu/drm/amd/powerplay/navi10_ppt.c Alex Deucher 2020-07-19 2534 .functionality = navi10_i2c_func,
1bc734759f284eb drivers/gpu/drm/amd/powerplay/navi10_ppt.c Alex Deucher 2020-07-19 2535 };
1bc734759f284eb drivers/gpu/drm/amd/powerplay/navi10_ppt.c Alex Deucher 2020-07-19 2536
:::::: The code at line 2532 was first introduced by commit
:::::: 1bc734759f284eb531dd474c72ce59874649a254 drm/amdgpu/navi1x: add SMU i2c support (v2)
:::::: TO: Alex Deucher <alexander.deucher@amd.com>
:::::: CC: Alex Deucher <alexander.deucher@amd.com>
---
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: 41823 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-10-28 18:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-28 18:01 [linux-next:master 2077/2270] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/navi10_ppt.c:2532:35: warning: unused variable 'navi10_i2c_algo' 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