Messages in this thread | | | Date | Fri, 15 Oct 2021 16:03:23 +0800 | From | kernel test robot <> | Subject | [skeggsb:03.00-disp 48/65] drivers/gpu/drm/nouveau/nouveau_display.c:755:29: error: unused variable 'drm' |
| |
tree: https://github.com/skeggsb/linux 03.00-disp head: 9d141f4c5d74118aa6e66daa9fde389857627d89 commit: 9ab6dbfd169dd7c2329b2d8aeee09926c49d3280 [48/65] drm/nouveau/kms: switch hpd_lock from mutex to spinlock config: arc-buildonly-randconfig-r002-20211014 (attached as .config) compiler: arc-elf-gcc (GCC) 11.2.0 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 # https://github.com/skeggsb/linux/commit/9ab6dbfd169dd7c2329b2d8aeee09926c49d3280 git remote add skeggsb https://github.com/skeggsb/linux git fetch --no-tags skeggsb 03.00-disp git checkout 9ab6dbfd169dd7c2329b2d8aeee09926c49d3280 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/nouveau/nouveau_display.c: In function 'nouveau_display_destroy': >> drivers/gpu/drm/nouveau/nouveau_display.c:755:29: error: unused variable 'drm' [-Werror=unused-variable] 755 | struct nouveau_drm *drm = nouveau_drm(dev); | ^~~ cc1: all warnings being treated as errors
vim +/drm +755 drivers/gpu/drm/nouveau/nouveau_display.c
27d5030a235d89 Ben Skeggs 2011-10-06 750 27d5030a235d89 Ben Skeggs 2011-10-06 751 void 27d5030a235d89 Ben Skeggs 2011-10-06 752 nouveau_display_destroy(struct drm_device *dev) 27d5030a235d89 Ben Skeggs 2011-10-06 753 { 77145f1cbdf8d2 Ben Skeggs 2012-07-31 754 struct nouveau_display *disp = nouveau_display(dev); d297ce4b5d490e Lyude Paul 2020-08-26 @755 struct nouveau_drm *drm = nouveau_drm(dev); 27d5030a235d89 Ben Skeggs 2011-10-06 756
:::::: The code at line 755 was first introduced by commit :::::: d297ce4b5d490eab60bede36bfd5da6fbcd416cf drm/nouveau/kms: Only use hpd_work for reprobing in HPD paths
:::::: TO: Lyude Paul <lyude@redhat.com> :::::: CC: Lyude Paul <lyude@redhat.com>
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip] | |