All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-stable-rc:linux-5.9.y 1207/1456] drivers/gpu/drm/amd/amdgpu/../powerplay/navi10_ppt.c:2461:35: warning: unused variable 'navi10_i2c_algo'
@ 2020-11-13  4:43 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-11-13  4:43 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2638 bytes --]

Hi Alex,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.9.y
head:   c2f4d81bca8d750005675a2b191222989fb9dece
commit: 84493deabfd73f1d0200986ba9f4aab3d44b368b [1207/1456] drm/amdgpu/swsmu: drop smu i2c bus on navi1x
config: powerpc-randconfig-r035-20201111 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a719eef73ec447b2c5fc8b70f69564a2e0f78e1e)
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 powerpc cross compiling tool for clang build
        # apt-get install binutils-powerpc-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=84493deabfd73f1d0200986ba9f4aab3d44b368b
        git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
        git fetch --no-tags linux-stable-rc linux-5.9.y
        git checkout 84493deabfd73f1d0200986ba9f4aab3d44b368b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc 

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/../powerplay/navi10_ppt.c:2461: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 +2461 drivers/gpu/drm/amd/amdgpu/../powerplay/navi10_ppt.c

1bc734759f284eb Alex Deucher 2020-07-19  2459  
1bc734759f284eb Alex Deucher 2020-07-19  2460  
1bc734759f284eb Alex Deucher 2020-07-19 @2461  static const struct i2c_algorithm navi10_i2c_algo = {
1bc734759f284eb Alex Deucher 2020-07-19  2462  	.master_xfer = navi10_i2c_xfer,
1bc734759f284eb Alex Deucher 2020-07-19  2463  	.functionality = navi10_i2c_func,
1bc734759f284eb Alex Deucher 2020-07-19  2464  };
1bc734759f284eb Alex Deucher 2020-07-19  2465  

:::::: The code at line 2461 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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 36588 bytes --]

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

only message in thread, other threads:[~2020-11-13  4:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-13  4:43 [linux-stable-rc:linux-5.9.y 1207/1456] drivers/gpu/drm/amd/amdgpu/../powerplay/navi10_ppt.c:2461:35: warning: unused variable 'navi10_i2c_algo' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.