linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 1738/1915] drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c:2182: warning: expecting prototype for Check if there is a native DP or passive DP(). Prototype was for dp_is_sink_present() instead
@ 2023-03-08 10:43 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-03-08 10:43 UTC (permalink / raw)
  To: Wenjing Liu
  Cc: oe-kbuild-all, Linux Memory Management List, Alex Deucher, Jun Lei

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   fc31900c948610e7b5c2f15fb7795832c8325327
commit: 202a3816f37e49ab490ff4582f1fb34390e5824e [1738/1915] drm/amd/display: move dc_link functions in protocols folder to dc_link_exports
config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20230308/202303081807.lBLWKmpX-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 12.1.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
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=202a3816f37e49ab490ff4582f1fb34390e5824e
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 202a3816f37e49ab490ff4582f1fb34390e5824e
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash drivers/gpu/drm/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303081807.lBLWKmpX-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c:2182: warning: Function parameter or member 'link' not described in 'dp_is_sink_present'
>> drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c:2182: warning: expecting prototype for Check if there is a native DP or passive DP(). Prototype was for dp_is_sink_present() instead


vim +2182 drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c

54618888d1ea7a Wenjing Liu 2023-01-18  2177  
54618888d1ea7a Wenjing Liu 2023-01-18  2178  /**
202a3816f37e49 Wenjing Liu 2023-02-15  2179   * Check if there is a native DP or passive DP-HDMI dongle connected
54618888d1ea7a Wenjing Liu 2023-01-18  2180   */
202a3816f37e49 Wenjing Liu 2023-02-15  2181  bool dp_is_sink_present(struct dc_link *link)
54618888d1ea7a Wenjing Liu 2023-01-18 @2182  {

:::::: The code at line 2182 was first introduced by commit
:::::: 54618888d1ea7a26f8bccfb89e3c2420350c8047 drm/amd/display: break down dc_link.c

:::::: TO: Wenjing Liu <wenjing.liu@amd.com>
:::::: CC: Alex Deucher <alexander.deucher@amd.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-08 10:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-08 10:43 [linux-next:master 1738/1915] drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c:2182: warning: expecting prototype for Check if there is a native DP or passive DP(). Prototype was for dp_is_sink_present() instead kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox