linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 7242/8758] drivers/gpu/drm/hyperv/hyperv_drm_modeset.c:152:23: warning: unused variable 'hyperv_modifiers'
@ 2021-06-10 14:21 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-10 14:21 UTC (permalink / raw)
  To: Deepak Rawat; +Cc: kbuild-all, clang-built-linux, Linux Memory Management List

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   50a1180e6cf12462bbbf3f2ebc5b93094ed9abee
commit: 76c56a5affeba1e163b66b9d8cc192e6154466f0 [7242/8758] drm/hyperv: Add DRM driver for hyperv synthetic video device
config: x86_64-randconfig-r034-20210610 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project d2012d965d60c3258b3a69d024491698f8aec386)
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=76c56a5affeba1e163b66b9d8cc192e6154466f0
        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 76c56a5affeba1e163b66b9d8cc192e6154466f0
        # 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/hyperv/hyperv_drm_modeset.c:152:23: warning: unused variable 'hyperv_modifiers' [-Wunused-const-variable]
   static const uint64_t hyperv_modifiers[] = {
                         ^
   1 warning generated.


vim +/hyperv_modifiers +152 drivers/gpu/drm/hyperv/hyperv_drm_modeset.c

   151	
 > 152	static const uint64_t hyperv_modifiers[] = {
   153		DRM_FORMAT_MOD_LINEAR,
   154		DRM_FORMAT_MOD_INVALID
   155	};
   156	

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

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

only message in thread, other threads:[~2021-06-10 14:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-10 14:21 [linux-next:master 7242/8758] drivers/gpu/drm/hyperv/hyperv_drm_modeset.c:152:23: warning: unused variable 'hyperv_modifiers' 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