[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202108251201.EmmmedUU-lkp@intel.com>
Date: Wed, 25 Aug 2021 12:53:07 +0800
From: kernel test robot <lkp@...el.com>
To: Jude Shih <shenshih@....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 147/166]
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:633: warning:
expecting prototype for dmub_aux_setconfig_reply_callback(). Prototype was
for dmub_aux_setconfig_callback() instead
tree: https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head: dd152519d914e25cc126edafd370cae0df1adcf4
commit: 6480afda51d535cd62e0dc3bc1f6b4224f1b8fb3 [147/166] drm/amd/display: Support for DMUB HPD interrupt handling
config: sparc-randconfig-r015-20210824 (attached as .config)
compiler: sparc64-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 6480afda51d535cd62e0dc3bc1f6b4224f1b8fb3
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sparc SHELL=/bin/bash drivers/gpu/drm/
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/amdgpu_dm/amdgpu_dm.c:633: warning: expecting prototype for dmub_aux_setconfig_reply_callback(). Prototype was for dmub_aux_setconfig_callback() instead
vim +633 drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c
622
623 /**
624 * dmub_aux_setconfig_reply_callback - Callback for AUX or SET_CONFIG command.
625 * @adev: amdgpu_device pointer
626 * @notify: dmub notification structure
627 *
628 * Dmub AUX or SET_CONFIG command completion processing callback
629 * Copies dmub notification to DM which is to be read by AUX command.
630 * issuing thread and also signals the event to wake up the thread.
631 */
632 void dmub_aux_setconfig_callback(struct amdgpu_device *adev, struct dmub_notification *notify)
> 633 {
634 if (adev->dm.dmub_notify)
635 memcpy(adev->dm.dmub_notify, notify, sizeof(struct dmub_notification));
636 if (notify->type == DMUB_NOTIFICATION_AUX_REPLY)
637 complete(&adev->dm.dmub_aux_transfer_done);
638 }
639
---
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" (31829 bytes)
Powered by blists - more mailing lists