[linux-next:master 7242/8758] drivers/gpu/drm/hyperv/hyperv_drm_modeset.c:152:23: warning: unused variable 'hyperv_modifiers'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

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@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux