[drm:drm-next 3/3] drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/hwmgr.c:127:2: error: invalid initializer

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

 



tree:   git://people.freedesktop.org/~airlied/linux.git drm-next
head:   754270c7c56292e97d0eff924a5d5d83f92add07
commit: 754270c7c56292e97d0eff924a5d5d83f92add07 [3/3] Merge branch 'drm-next-4.15' of git://people.freedesktop.org/~agd5f/linux into drm-next
config: x86_64-randconfig-it0-09281201 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
        git checkout 754270c7c56292e97d0eff924a5d5d83f92add07
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/hwmgr.c:127:2: error: invalid initializer
     {NULL, phm_thermal_l2h_irq},
     ^
   drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/hwmgr.c:127:2: error: (near initialization for 'thermal_irq_src[0].<anonymous>')
   drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/hwmgr.c:128:2: error: invalid initializer
     {NULL, phm_thermal_h2l_irq},
     ^
   drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/hwmgr.c:128:2: error: (near initialization for 'thermal_irq_src[1].<anonymous>')
   drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/hwmgr.c:129:2: error: invalid initializer
     {NULL, phm_ctf_irq}
     ^
   drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/hwmgr.c:129:2: error: (near initialization for 'thermal_irq_src[2].<anonymous>')

vim +127 drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/hwmgr.c

2a5b64c9 Eric Huang 2017-09-15  125  
2a5b64c9 Eric Huang 2017-09-15  126  static const struct cgs_irq_src_funcs thermal_irq_src[3] = {
2a5b64c9 Eric Huang 2017-09-15 @127  	{NULL, phm_thermal_l2h_irq},
2a5b64c9 Eric Huang 2017-09-15  128  	{NULL, phm_thermal_h2l_irq},
2a5b64c9 Eric Huang 2017-09-15  129  	{NULL, phm_ctf_irq}
2a5b64c9 Eric Huang 2017-09-15  130  };
2a5b64c9 Eric Huang 2017-09-15  131  

:::::: The code at line 127 was first introduced by commit
:::::: 2a5b64c9fcd7adf6133e76966250ef3ab139f98b drm/amd/powerplay: add register thermal interrupt in hwmgr_hw_init

:::::: TO: Eric Huang <JinHuiEric.Huang@xxxxxxx>
:::::: CC: Alex Deucher <alexander.deucher@xxxxxxx>

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux