[linux-next:master 5801/7915] 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]

 



Hi Meenakshikumar,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   d4a0ae62a277377de396850ed4b709b6bd9b7326
commit: ed7208706448953c6f15009cf139135776c15713 [5801/7915] drm/amd/display: Fix for dmub outbox notification enable
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220224/202202242353.yUaXXuQI-lkp@xxxxxxxxx/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
        # 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=gcc-11.2.0 make.cross O=build_dir ARCH=arc 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