[radeon-alex:amd-staging-4.6 645/989] 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
Thu Jun 16 09:17:47 UTC 2016


tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.6
head:   beebb009c05fd5a89617327a9cfb724f19cecf1b
commit: 9c681b658ebf2efed9c20e4b2051e543bc1fcb9a [645/989] drm/amd/dal: Adding Hawaii and Bonaire support to DAL
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        git checkout 9c681b658ebf2efed9c20e4b2051e543bc1fcb9a
        # save the attached .config to linux build tree
        make ARCH=x86_64 

Note: the radeon-alex/amd-staging-4.6 HEAD beebb009c05fd5a89617327a9cfb724f19cecf1b 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: 54177 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160616/f3686af8/attachment-0001.obj>


More information about the dri-devel mailing list