lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri, 19 Nov 2021 15:49:05 +0800
From:   kernel test robot <lkp@...el.com>
To:     "Leo (Hanghong) Ma" <hanghong.ma@....com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Alex Deucher <alexander.deucher@....com>,
        Nicholas Kazlauskas <nicholas.kazlauskas@....com>
Subject: [agd5f:drm-next 49/92]
 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:4457:25: error:
 implicit declaration of function 'DC_LOG_DP2'; did you mean 'DC_LOG_DML'?

tree:   https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head:   eaae0714f4a82df81a60c6aae74c568e8974a716
commit: 9c0dc981c97dc7a439469dff76bacf6415514496 [49/92] drm/amd/display: Reduce dmesg error to a debug print
config: arc-randconfig-r035-20211118 (attached as .config)
compiler: arceb-elf-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git
        git fetch --no-tags agd5f drm-next
        git checkout 9c0dc981c97dc7a439469dff76bacf6415514496
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/amd/amdgpu/../display/dmub/dmub_srv.h:67,
                    from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.h:30,
                    from drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:37:
   drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h: In function 'dmub_rb_flush_pending':
   drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h:2892:26: warning: variable 'temp' set but not used [-Wunused-but-set-variable]
    2892 |                 uint64_t temp;
         |                          ^~~~
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c: In function 'dp_retrieve_lttpr_cap':
>> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:4457:25: error: implicit declaration of function 'DC_LOG_DP2'; did you mean 'DC_LOG_DML'? [-Werror=implicit-function-declaration]
    4457 |                         DC_LOG_DP2("%s: Read LTTPR caps data failed.\n", __func__);
         |                         ^~~~~~~~~~
         |                         DC_LOG_DML
   In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32,
                    from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/resource.h:28,
                    from drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:30:
   At top level:
   drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:121:22: warning: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Wunused-const-variable=]
     121 | static const uint8_t DP_SINK_DEVICE_STR_ID_2[] = {7, 1, 8, 7, 5, 0};
         |                      ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:120:22: warning: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Wunused-const-variable=]
     120 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0};
         |                      ^~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +4457 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c

  4446	
  4447		if (link->lttpr_mode == LTTPR_MODE_NON_TRANSPARENT || link->lttpr_mode == LTTPR_MODE_TRANSPARENT) {
  4448			/* By reading LTTPR capability, RX assumes that we will enable
  4449			 * LTTPR extended aux timeout if LTTPR is present.
  4450			 */
  4451			status = core_link_read_dpcd(
  4452					link,
  4453					DP_LT_TUNABLE_PHY_REPEATER_FIELD_DATA_STRUCTURE_REV,
  4454					lttpr_dpcd_data,
  4455					sizeof(lttpr_dpcd_data));
  4456			if (status != DC_OK) {
> 4457				DC_LOG_DP2("%s: Read LTTPR caps data failed.\n", __func__);
  4458				return false;
  4459			}
  4460	
  4461			link->dpcd_caps.lttpr_caps.revision.raw =
  4462					lttpr_dpcd_data[DP_LT_TUNABLE_PHY_REPEATER_FIELD_DATA_STRUCTURE_REV -
  4463									DP_LT_TUNABLE_PHY_REPEATER_FIELD_DATA_STRUCTURE_REV];
  4464	
  4465			link->dpcd_caps.lttpr_caps.max_link_rate =
  4466					lttpr_dpcd_data[DP_MAX_LINK_RATE_PHY_REPEATER -
  4467									DP_LT_TUNABLE_PHY_REPEATER_FIELD_DATA_STRUCTURE_REV];
  4468	
  4469			link->dpcd_caps.lttpr_caps.phy_repeater_cnt =
  4470					lttpr_dpcd_data[DP_PHY_REPEATER_CNT -
  4471									DP_LT_TUNABLE_PHY_REPEATER_FIELD_DATA_STRUCTURE_REV];
  4472	
  4473			link->dpcd_caps.lttpr_caps.max_lane_count =
  4474					lttpr_dpcd_data[DP_MAX_LANE_COUNT_PHY_REPEATER -
  4475									DP_LT_TUNABLE_PHY_REPEATER_FIELD_DATA_STRUCTURE_REV];
  4476	
  4477			link->dpcd_caps.lttpr_caps.mode =
  4478					lttpr_dpcd_data[DP_PHY_REPEATER_MODE -
  4479									DP_LT_TUNABLE_PHY_REPEATER_FIELD_DATA_STRUCTURE_REV];
  4480	
  4481			link->dpcd_caps.lttpr_caps.max_ext_timeout =
  4482					lttpr_dpcd_data[DP_PHY_REPEATER_EXTENDED_WAIT_TIMEOUT -
  4483									DP_LT_TUNABLE_PHY_REPEATER_FIELD_DATA_STRUCTURE_REV];
  4484	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (42486 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ