[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

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

 



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

Attachment: .config.gz
Description: Binary data

_______________________________________________
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