[radeon-alex:drm-next-4.8-wip-dal 280/562] drivers/gpu/drm/amd/amdgpu/../dal/dc/core/dc_link_ddc.c:44:21: error: 'dvi_hdmi_dongle_signature_str' defined but not used

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

 



tree:   git://people.freedesktop.org/~agd5f/linux.git drm-next-4.8-wip-dal
head:   febc9e1f8b905e5df7b34fb697ffc4968a940577
commit: e2258a3d8f6e0e6b11e21d2b0ee7355e1ef2f70b [280/562] drm/amd/dal: Relocate dcs to core
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        git checkout e2258a3d8f6e0e6b11e21d2b0ee7355e1ef2f70b
        # 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/core/dc_link_ddc.c:44:21: error: 'dvi_hdmi_dongle_signature_str' defined but not used [-Werror=unused-const-variable=]
    static const int8_t dvi_hdmi_dongle_signature_str[] = "6140063500G";
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors

vim +/dvi_hdmi_dongle_signature_str +44 drivers/gpu/drm/amd/amdgpu/../dal/dc/core/dc_link_ddc.c

b25f1184 drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c Harry Wentland 2015-11-25  38  #define I2C_OVER_AUX_DEFER_WA_DELAY 70
b25f1184 drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c Harry Wentland 2015-11-25  39  
b25f1184 drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c Harry Wentland 2015-11-25  40  /* CV smart dongle slave address for retrieving supported HDTV modes*/
b25f1184 drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c Harry Wentland 2015-11-25  41  #define CV_SMART_DONGLE_ADDRESS 0x20
b25f1184 drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c Harry Wentland 2015-11-25  42  /* DVI-HDMI dongle slave address for retrieving dongle signature*/
b25f1184 drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c Harry Wentland 2015-11-25  43  #define DVI_HDMI_DONGLE_ADDRESS 0x68
b25f1184 drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c Harry Wentland 2015-11-25 @44  static const int8_t dvi_hdmi_dongle_signature_str[] = "6140063500G";
b25f1184 drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c Harry Wentland 2015-11-25  45  struct dvi_hdmi_dongle_signature_data {
b25f1184 drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c Harry Wentland 2015-11-25  46  	int8_t vendor[3];/* "AMD" */
b25f1184 drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c Harry Wentland 2015-11-25  47  	uint8_t version[2];

:::::: The code at line 44 was first introduced by commit
:::::: b25f11849e8d924d7a4022cbaf5455369c7aa7e7 drm/amd/dal: Add dal display driver

:::::: TO: Harry Wentland <harry.wentland@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: 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