[radeon-alex:amd-staging-4.6 588/989] drivers/gpu/drm/amd/amdgpu/../dal/dc/core/dc_link_ddc.c:44:21: error: 'dvi_hdmi_dongle_signature_str' defined but not used

kbuild test robot fengguang.wu at intel.com
Thu Jun 16 05:59:03 UTC 2016


tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.6
head:   beebb009c05fd5a89617327a9cfb724f19cecf1b
commit: 8b66b16511d44cc9917c04a1608dd721774e4445 [588/989] drm/amd/dal: Use max clocks/safemarks for dce10
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        git checkout 8b66b16511d44cc9917c04a1608dd721774e4445
        # 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/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

142fbbaab drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c  Harry Wentland 2015-11-25  28  #include "include/adapter_service_interface.h"
142fbbaab drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c  Harry Wentland 2015-11-25  29  #include "include/ddc_service_types.h"
142fbbaab drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c  Harry Wentland 2015-11-25  30  #include "include/grph_object_id.h"
142fbbaab drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c  Harry Wentland 2015-11-25  31  #include "include/dpcd_defs.h"
142fbbaab drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c  Harry Wentland 2015-11-25  32  #include "include/logger_interface.h"
43fb14b7c drivers/gpu/drm/amd/dal/dc/core/dc_link_ddc.c Chris Park     2016-01-27  33  #include "include/vector.h"
43fb14b7c drivers/gpu/drm/amd/dal/dc/core/dc_link_ddc.c Chris Park     2016-01-27  34  
43fb14b7c drivers/gpu/drm/amd/dal/dc/core/dc_link_ddc.c Chris Park     2016-01-27  35  #include "dc_link_ddc.h"
142fbbaab drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c  Harry Wentland 2015-11-25  36  
142fbbaab drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c  Harry Wentland 2015-11-25  37  #define AUX_POWER_UP_WA_DELAY 500
142fbbaab drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c  Harry Wentland 2015-11-25  38  #define I2C_OVER_AUX_DEFER_WA_DELAY 70
142fbbaab drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c  Harry Wentland 2015-11-25  39  
142fbbaab 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*/
142fbbaab drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c  Harry Wentland 2015-11-25  41  #define CV_SMART_DONGLE_ADDRESS 0x20
142fbbaab 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*/
142fbbaab drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c  Harry Wentland 2015-11-25  43  #define DVI_HDMI_DONGLE_ADDRESS 0x68
142fbbaab 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";
142fbbaab drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c  Harry Wentland 2015-11-25  45  struct dvi_hdmi_dongle_signature_data {
142fbbaab drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c  Harry Wentland 2015-11-25  46  	int8_t vendor[3];/* "AMD" */
142fbbaab drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c  Harry Wentland 2015-11-25  47  	uint8_t version[2];
142fbbaab drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c  Harry Wentland 2015-11-25  48  	uint8_t size;
142fbbaab drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c  Harry Wentland 2015-11-25  49  	int8_t id[11];/* "6140063500G"*/
142fbbaab drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c  Harry Wentland 2015-11-25  50  };
142fbbaab drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c  Harry Wentland 2015-11-25  51  /* DP-HDMI dongle slave address for retrieving dongle signature*/
142fbbaab drivers/gpu/drm/amd/dal/dc/dcs/ddc_service.c  Harry Wentland 2015-11-25  52  #define DP_HDMI_DONGLE_ADDRESS 0x40

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

:::::: TO: Harry Wentland <harry.wentland 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/octet-stream
Size: 54174 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160616/c4b92587/attachment-0001.obj>


More information about the dri-devel mailing list