dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [radeon-alex:drm-next 419/491] drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:5212:45: warning: unused variable 'gfx_v7_0_ip_block'
@ 2020-06-24  5:48 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-06-24  5:48 UTC (permalink / raw)
  To: Nirmoy Das; +Cc: Alex Deucher, clang-built-linux, kbuild-all, dri-devel

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

tree:   git://people.freedesktop.org/~agd5f/linux.git drm-next
head:   fadef51a438279ca660dbce31c26e787d6680149
commit: a9601cd4a0355f07df6d6b89d5d7add7be9b15c6 [419/491] drm/amdgpu: label internally used symbols as static
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 1d4c87335d5236ea1f35937e1014980ba961ae34)
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 x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout a9601cd4a0355f07df6d6b89d5d7add7be9b15c6
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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/gfx_v7_0.c:5212:45: warning: unused variable 'gfx_v7_0_ip_block' [-Wunused-const-variable]
   static const struct amdgpu_ip_block_version gfx_v7_0_ip_block =
                                               ^
   1 warning generated.

vim +/gfx_v7_0_ip_block +5212 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c

  5211	
> 5212	static const struct amdgpu_ip_block_version gfx_v7_0_ip_block =
  5213	{
  5214		.type = AMD_IP_BLOCK_TYPE_GFX,
  5215		.major = 7,
  5216		.minor = 0,
  5217		.rev = 0,
  5218		.funcs = &gfx_v7_0_ip_funcs,
  5219	};
  5220	

---
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: 74039 bytes --]

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

only message in thread, other threads:[~2020-06-24  5:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-24  5:48 [radeon-alex:drm-next 419/491] drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:5212:45: warning: unused variable 'gfx_v7_0_ip_block' 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;
as well as URLs for NNTP newsgroup(s).