lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri, 15 Oct 2021 16:03:23 +0800
From:   kernel test robot <>
To:     Ben Skeggs <>
        Lyude Paul <>
Subject: [skeggsb:03.00-disp 48/65]
 drivers/gpu/drm/nouveau/nouveau_display.c:755:29: error: unused variable

tree: 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 -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add skeggsb
        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 <>

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 <>
:::::: CC: Lyude Paul <>

0-DAY CI Kernel Test Service, Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (44673 bytes)

Powered by blists - more mailing lists