htmldocs: ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:633: warning: expecting prototype for dmub_aux_setconfig_reply_callback(). Prototype was for dmub_aux_setconfig_callback() instead
kernel test robot
build botHi Jude,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.15.y head: d383d0f28ecac0f3375bdfb9a0c4bfac979f6f8f commit: 734d5ce02cb069cccedc993d8f1dc0ea41cfa3dd [4439/9999] drm/amd/display: Support for DMUB HPD interrupt handling reproduce: # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=734d5ce02cb069cccedc993d8f1dc0ea41cfa3dd git remote add stable https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git git fetch --no-tags stable linux-5.15.y git checkout 734d5ce02cb069cccedc993d8f1dc0ea41cfa3dd make menuconfig # enable CONFIG_COMPILE_TEST, CONFIG_WARN_MISSING_DOCUMENTS, CONFIG_WARN_ABI_ERRORS make htmldocs
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All warnings (new ones prefixed by >>):
>> ./drivers/gpu/drm/amd/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/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
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
[AMD Official Use Only - General]
Hi Charlie,
Would you please help to follow up and let me know if you need any support? Thanks!
Best Regards,
Jude
-----Original Message-----
From: kernel test robot <[email protected]>
Sent: Tuesday, February 28, 2023 10:35 AM
To: Shih, Jude <[email protected]>
Cc: [email protected]; Greg Kroah-Hartman <[email protected]>; Kazlauskas, Nicholas <[email protected]>; Deucher, Alexander <[email protected]>; Sasha Levin <[email protected]>
Subject: [stable:linux-5.15.y 4439/9999] htmldocs: ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:633: warning: expecting prototype for dmub_aux_setconfig_reply_callback(). Prototype was for dmub_aux_setconfig_callback() instead
Hi Jude,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.15.y head: d383d0f28ecac0f3375bdfb9a0c4bfac979f6f8f commit: 734d5ce02cb069cccedc993d8f1dc0ea41cfa3dd [4439/9999] drm/amd/display: Support for DMUB HPD interrupt handling reproduce: # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=734d5ce02cb069cccedc993d8f1dc0ea41cfa3dd git remote add stable https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git git fetch --no-tags stable linux-5.15.y git checkout 734d5ce02cb069cccedc993d8f1dc0ea41cfa3dd make menuconfig # enable CONFIG_COMPILE_TEST, CONFIG_WARN_MISSING_DOCUMENTS, CONFIG_WARN_ABI_ERRORS make htmldocs
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All warnings (new ones prefixed by >>):
Quoted 1 line
Quoted 1 line
./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:633: warning: expecting prototype fordmub_aux_setconfig_reply_callback(). Prototype was fordmub_aux_setconfig_callback()instead
vim +633 ./drivers/gpu/drm/amd/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)
Quoted 1 line
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
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
[AMD Official Use Only - General]
Hi
Here is the full information of the patch. Please let us know if need any help.
commit 03f2abb07e54b3e0da54c52a656d9765b7e141c5
Author: Yann Dirson <[email protected]> Date: Tue Dec 14 00:30:29 2021 +0100
amdgpu: fix some kernel-doc markup
Best Regards,
Jude
-----Original Message-----
From: kernel test robot <[email protected]>
Sent: Tuesday, February 28, 2023 10:35 AM
To: Shih, Jude <[email protected]>
Cc: [email protected]; Greg Kroah-Hartman <[email protected]>; Kazlauskas, Nicholas <[email protected]>; Deucher, Alexander <[email protected]>; Sasha Levin <[email protected]>
Subject: [stable:linux-5.15.y 4439/9999] htmldocs: ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:633: warning: expecting prototype for dmub_aux_setconfig_reply_callback(). Prototype was for dmub_aux_setconfig_callback() instead
Hi Jude,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.15.y head: d383d0f28ecac0f3375bdfb9a0c4bfac979f6f8f commit: 734d5ce02cb069cccedc993d8f1dc0ea41cfa3dd [4439/9999] drm/amd/display: Support for DMUB HPD interrupt handling reproduce: # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=734d5ce02cb069cccedc993d8f1dc0ea41cfa3dd git remote add stable https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git git fetch --no-tags stable linux-5.15.y git checkout 734d5ce02cb069cccedc993d8f1dc0ea41cfa3dd make menuconfig # enable CONFIG_COMPILE_TEST, CONFIG_WARN_MISSING_DOCUMENTS, CONFIG_WARN_ABI_ERRORS make htmldocs
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All warnings (new ones prefixed by >>):
Quoted 1 line
Quoted 1 line
./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:633: warning: expecting prototype fordmub_aux_setconfig_reply_callback(). Prototype was fordmub_aux_setconfig_callback()instead
vim +633 ./drivers/gpu/drm/amd/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)
Quoted 1 line
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
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests