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]
Message-ID: <202112030412.UAkTA3x7-lkp@intel.com>
Date:   Fri, 3 Dec 2021 04:56:55 +0800
From:   kernel test robot <lkp@...el.com>
To:     Fangzhi Zuo <Jerry.Zuo@....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 150/190]
 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:4343: warning:
 expecting prototype for Return PCON's post FRL link training supported BW if
 its non(). Prototype was for intersect_frl_link_bw_support() instead

tree:   https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head:   ee641f210a83efe4b32ea367555763e9a072d0f9
commit: c022375ae0955b6d97ec438d658ab43a857a010f [150/190] drm/amd/display: Add DP-HDMI FRL PCON Support in DC
config: powerpc-allyesconfig (https://download.01.org/0day-ci/archive/20211203/202112030412.UAkTA3x7-lkp@intel.com/config)
compiler: powerpc-linux-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 c022375ae0955b6d97ec438d658ab43a857a010f
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=powerpc SHELL=/bin/bash

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

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:4343: warning: Function parameter or member 'max_supported_frl_bw_in_kbps' not described in 'intersect_frl_link_bw_support'
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:4343: warning: Function parameter or member 'hdmi_encoded_link_bw' not described in 'intersect_frl_link_bw_support'
>> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:4343: warning: expecting prototype for Return PCON's post FRL link training supported BW if its non(). Prototype was for intersect_frl_link_bw_support() instead


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

  4336	
  4337	/**
  4338	 * Return PCON's post FRL link training supported BW if its non-zero, otherwise return max_supported_frl_bw.
  4339	 */
  4340	static uint32_t intersect_frl_link_bw_support(
  4341		const uint32_t max_supported_frl_bw_in_kbps,
  4342		const union hdmi_encoded_link_bw hdmi_encoded_link_bw)
> 4343	{
  4344		uint32_t supported_bw_in_kbps = max_supported_frl_bw_in_kbps;
  4345	
  4346		// HDMI_ENCODED_LINK_BW bits are only valid if HDMI Link Configuration bit is 1 (FRL mode)
  4347		if (hdmi_encoded_link_bw.bits.FRL_MODE) {
  4348			if (hdmi_encoded_link_bw.bits.BW_48Gbps)
  4349				supported_bw_in_kbps = 48000000;
  4350			else if (hdmi_encoded_link_bw.bits.BW_40Gbps)
  4351				supported_bw_in_kbps = 40000000;
  4352			else if (hdmi_encoded_link_bw.bits.BW_32Gbps)
  4353				supported_bw_in_kbps = 32000000;
  4354			else if (hdmi_encoded_link_bw.bits.BW_24Gbps)
  4355				supported_bw_in_kbps = 24000000;
  4356			else if (hdmi_encoded_link_bw.bits.BW_18Gbps)
  4357				supported_bw_in_kbps = 18000000;
  4358			else if (hdmi_encoded_link_bw.bits.BW_9Gbps)
  4359				supported_bw_in_kbps = 9000000;
  4360		}
  4361	
  4362		return supported_bw_in_kbps;
  4363	}
  4364	#endif
  4365	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ