[drm:drm-next 3/3] drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/hwmgr.c:127:2: error: invalid initializer
kbuild test robot
fengguang.wu at intel.com
Thu Sep 28 05:59:07 UTC 2017
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 at amd.com>
:::::: CC: Alex Deucher <alexander.deucher at amd.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 28808 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170928/2ca294c0/attachment-0001.gz>
More information about the dri-devel
mailing list