tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git 
dev.2019.03.20b
head:   6d4434b4b4df791620743178e1419de882b44c7b
commit: eb89abcb30733e3a2343dda23cb6d81cc17c60b3 [54/83] rcu: Forbid 
DEFINE{,_STATIC}_SRCU() from modules
config: x86_64-randconfig-b0-03250021 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout eb89abcb30733e3a2343dda23cb6d81cc17c60b3
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c:50:1: warning: data 
definition has no type or storage class
    DEFINE_SRCU(kfd_processes_srcu);
    ^~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c:50:1: error: type 
>> defaults to 'int' in declaration of 'DEFINE_SRCU' [-Werror=implicit-int]
   drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c:50:1: warning: parameter 
names (without types) in function declaration
   cc1: some warnings being treated as errors

vim +50 drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c

19f6d2a6 Oded Gabbay    2014-07-16  49  
64d1c3a4 Felix Kuehling 2017-12-08 @50  DEFINE_SRCU(kfd_processes_srcu);
19f6d2a6 Oded Gabbay    2014-07-16  51  

:::::: The code at line 50 was first introduced by commit
:::::: 64d1c3a43a6fb5cef32a085bc17cbbe31945a651 drm/amdkfd: Centralize IOMMUv2 
code and make it conditional

:::::: TO: Felix Kuehling <[email protected]>
:::::: CC: Oded Gabbay <[email protected]>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to