Re: [PATCH] Fix kernel-doc for amdgpu_display_manager

From: Alex Deucher

Date: Tue May 26 2026 - 10:15:51 EST


On Thu, Apr 30, 2026 at 3:49 AM Kenner de Azevedo dos Santos Miranda
<kenner.linuxdev@xxxxxxxxx> wrote:
>
> The struct boot_time_crc_info is not described in amdgpu_display_manager.
>
> Running the `make htmldocs` is showing the following warning :
>
> WARNING: ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:715 struct member 'boot_time_crc_info' not described in 'amdgpu_display_manager'
>
> i added the description that fix the warning and describe the struct.
>
> The warning is not showing anymore in make htmldocs after change.
>
> Signed-off-by: Kenner de Azevedo dos Santos Miranda <kenner.linuxdev@xxxxxxxxx>
> ---
> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
> index 74a8fe1a1999..201b4796b591 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
> @@ -347,6 +347,7 @@ struct hpd_rx_irq_offload_work {
> * @dmub_aux_transfer_done: struct completion used to indicate when DMUB
> * transfers are done
> * @delayed_hpd_wq: work queue used to delay DMUB HPD work
> + * @boot_time_crc_info: Stores CRC information collected during boot

This element has kerneldoc within the structure already:

/**
* @dm_boot_time_crc_info:
*
* Buffer info for the boot time crc.
*/
struct dm_boot_time_crc_info boot_time_crc_info;

Alex


> */
> struct amdgpu_display_manager {
>
> --
> 2.43.0
>