[linux-next:master 6160/6564] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3757: warning: expecting prototype for dc_process_dmub_aux_transfer_async(). Prototype was for dc_enable_dmub_notifications() instead

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   3c30cf91b5ecc7272b3d2942ae0505dd8320b81c
commit: ed7208706448953c6f15009cf139135776c15713 [6160/6564] drm/amd/display: Fix for dmub outbox notification enable
config: s390-randconfig-r044-20220217 (https://download.01.org/0day-ci/archive/20220217/202202172044.WGiceNKS-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0bad7cb56526f2572c74449fcf97c1fcda42b41d)
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
        # install s390 cross compiling tool for clang build
        # apt-get install binutils-s390x-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=ed7208706448953c6f15009cf139135776c15713
        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 ed7208706448953c6f15009cf139135776c15713
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash drivers/gpu/drm/

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

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:419: warning: Cannot understand  *****************************************************************************
    on line 419 - I thought it was a doc line
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3757: warning: Function parameter or member 'dc' not described in 'dc_enable_dmub_notifications'
>> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3757: warning: expecting prototype for dc_process_dmub_aux_transfer_async(). Prototype was for dc_enable_dmub_notifications() instead
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3762: warning: Cannot understand  *****************************************************************************
    on line 3762 - I thought it was a doc line
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3783: warning: Cannot understand  *****************************************************************************
    on line 3783 - I thought it was a doc line
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3873: warning: Cannot understand  *****************************************************************************
    on line 3873 - I thought it was a doc line
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3923: warning: Cannot understand  *****************************************************************************
    on line 3923 - I thought it was a doc line
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3987: warning: Cannot understand  *****************************************************************************
    on line 3987 - I thought it was a doc line


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

  3739	
  3740	/**
  3741	 * dc_process_dmub_aux_transfer_async - Submits aux command to dmub via inbox message
  3742	 *  Function: dc_enable_dmub_notifications
  3743	 *
  3744	 *  @brief
  3745	 *		Calls dc_is_dmub_outbox_supported to check if dmub fw supports outbox
  3746	 *		notifications. All DMs shall switch to dc_is_dmub_outbox_supported.
  3747	 *		This API shall be removed after switching.
  3748	 *
  3749	 *  @param
  3750	 *		[in] dc: dc structure
  3751	 *
  3752	 *  @return
  3753	 *		True if DMUB FW supports outbox notifications, False otherwise
  3754	 *****************************************************************************
  3755	 */
  3756	bool dc_enable_dmub_notifications(struct dc *dc)
> 3757	{
  3758		return dc_is_dmub_outbox_supported(dc);
  3759	}
  3760	

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux