lists.openwall.net   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]
Message-ID: <202210210610.dgoMsalZ-lkp@intel.com>
Date:   Fri, 21 Oct 2022 06:38:14 +0800
From:   kernel test robot <lkp@...el.com>
To:     Oded Gabbay <ogabbay@...nel.org>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [ogabbay:accel 4/4] drivers/gpu/drm/drm_drv.c:115:2: error: expected
 '(' after 'if'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git accel
head:   6cf0d71c433be13546d2c03573de7f6431219527
commit: 6cf0d71c433be13546d2c03573de7f6431219527 [4/4] more work
config: i386-randconfig-a002
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git/commit/?id=6cf0d71c433be13546d2c03573de7f6431219527
        git remote add ogabbay https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git
        git fetch --no-tags ogabbay accel
        git checkout 6cf0d71c433be13546d2c03573de7f6431219527
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/drm_drv.c:115:2: error: expected '(' after 'if'
           spin_lock_irqsave(&drm_minor_lock, flags);
           ^
   include/linux/spinlock.h:377:43: note: expanded from macro 'spin_lock_irqsave'
   #define spin_lock_irqsave(lock, flags)                          \
                                                                   ^
   1 error generated.


vim +115 drivers/gpu/drm/drm_drv.c

05b701f6f60201 drivers/gpu/drm/drm_stub.c David Herrmann 2014-01-29  103  
f96306f9892b3a drivers/gpu/drm/drm_drv.c  Daniel Vetter  2020-03-24  104  static void drm_minor_alloc_release(struct drm_device *dev, void *data)
f96306f9892b3a drivers/gpu/drm/drm_drv.c  Daniel Vetter  2020-03-24  105  {
f96306f9892b3a drivers/gpu/drm/drm_drv.c  Daniel Vetter  2020-03-24  106  	struct drm_minor *minor = data;
f96306f9892b3a drivers/gpu/drm/drm_drv.c  Daniel Vetter  2020-03-24  107  	unsigned long flags;
f96306f9892b3a drivers/gpu/drm/drm_drv.c  Daniel Vetter  2020-03-24  108  
c3b790ea07a13d drivers/gpu/drm/drm_drv.c  Daniel Vetter  2020-03-23  109  	WARN_ON(dev != minor->dev);
c3b790ea07a13d drivers/gpu/drm/drm_drv.c  Daniel Vetter  2020-03-23  110  
f96306f9892b3a drivers/gpu/drm/drm_drv.c  Daniel Vetter  2020-03-24  111  	put_device(minor->kdev);
f96306f9892b3a drivers/gpu/drm/drm_drv.c  Daniel Vetter  2020-03-24  112  
6cf0d71c433be1 drivers/gpu/drm/drm_drv.c  Oded Gabbay    2022-10-20  113  	if 
6cf0d71c433be1 drivers/gpu/drm/drm_drv.c  Oded Gabbay    2022-10-20  114  
f96306f9892b3a drivers/gpu/drm/drm_drv.c  Daniel Vetter  2020-03-24 @115  	spin_lock_irqsave(&drm_minor_lock, flags);
f96306f9892b3a drivers/gpu/drm/drm_drv.c  Daniel Vetter  2020-03-24  116  	idr_remove(&drm_minors_idr, minor->index);
f96306f9892b3a drivers/gpu/drm/drm_drv.c  Daniel Vetter  2020-03-24  117  	spin_unlock_irqrestore(&drm_minor_lock, flags);
f96306f9892b3a drivers/gpu/drm/drm_drv.c  Daniel Vetter  2020-03-24  118  }
f96306f9892b3a drivers/gpu/drm/drm_drv.c  Daniel Vetter  2020-03-24  119  

:::::: The code at line 115 was first introduced by commit
:::::: f96306f9892b3a28ece4c65c4d1b95f631b3e63c drm: manage drm_minor cleanup with drmm_

:::::: TO: Daniel Vetter <daniel.vetter@...ll.ch>
:::::: CC: Daniel Vetter <daniel.vetter@...ll.ch>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (163904 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ