[radeon-alex:drm-next-4.8-wip-dal 338/562] drivers/gpu/drm/amd/amdgpu/../dal/dc/i2caux/dce80/i2c_sw_engine_dce80.c:53:23: error: 'ddc_hw_status_addr' defined but not used
kbuild test robot
fengguang.wu at intel.com
Fri May 27 10:20:29 UTC 2016
tree: git://people.freedesktop.org/~agd5f/linux.git drm-next-4.8-wip-dal
head: febc9e1f8b905e5df7b34fb697ffc4968a940577
commit: 5852bace27dbe24bc53d219525a3299d84439fa9 [338/562] drm/amd/dal: Adding Hawaii and Bonaire support to DAL
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
git checkout 5852bace27dbe24bc53d219525a3299d84439fa9
# save the attached .config to linux build tree
make ARCH=i386
Note: the radeon-alex/drm-next-4.8-wip-dal HEAD febc9e1f8b905e5df7b34fb697ffc4968a940577 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/amd/amdgpu/../dal/dc/i2caux/dce80/i2c_sw_engine_dce80.c:53:23: error: 'ddc_hw_status_addr' defined but not used [-Werror=unused-const-variable=]
static const uint32_t ddc_hw_status_addr[] = {
^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/ddc_hw_status_addr +53 drivers/gpu/drm/amd/amdgpu/../dal/dc/i2caux/dce80/i2c_sw_engine_dce80.c
37 * Header of this unit
38 */
39
40 #include "i2c_sw_engine_dce80.h"
41
42 /*
43 * Post-requisites: headers required by this unit
44 */
45
46 #include "dce/dce_8_0_d.h"
47 #include "dce/dce_8_0_sh_mask.h"
48
49 /*
50 * This unit
51 */
52
> 53 static const uint32_t ddc_hw_status_addr[] = {
54 mmDC_I2C_DDC1_HW_STATUS,
55 mmDC_I2C_DDC2_HW_STATUS,
56 mmDC_I2C_DDC3_HW_STATUS,
57 mmDC_I2C_DDC4_HW_STATUS,
58 mmDC_I2C_DDC5_HW_STATUS,
59 mmDC_I2C_DDC6_HW_STATUS,
60 mmDC_I2C_DDCVGA_HW_STATUS
61 };
---
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/octet-stream
Size: 54531 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160527/631022b7/attachment-0001.obj>
More information about the dri-devel
mailing list