[PATCH v4 2/3] drm: Add missing struct drm_wedge_task_info kernel doc
Randy Dunlap
rdunlap at infradead.org
Wed Jul 9 05:45:03 UTC 2025
On 7/4/25 12:07 PM, André Almeida wrote:
> Fix the following kernel doc warning:
>
> include/drm/drm_device.h:40: warning: Function parameter or struct member 'pid' not described in 'drm_wedge_task_info'
> include/drm/drm_device.h:40: warning: Function parameter or struct member 'comm' not described in 'drm_wedge_task_info'
>
> Fixes: 183bccafa176 ("drm: Create a task info option for wedge events")
> Reported-by: Stephen Rothwell <sfr at canb.auug.org.au>
> Closes: https://lore.kernel.org/lkml/20250618151307.4a1a5e17@canb.auug.org.au/
> Reviewed-by: Raag Jadav <raag.jadav at intel.com>
> Signed-off-by: André Almeida <andrealmeid at igalia.com>
> ---
> v4: Dropped "the" from the start of the sentence
> v3: Make it consistent with drm_device member description
> v2: Add Reported-by tag
> ---
> ---
> include/drm/drm_device.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/drm/drm_device.h b/include/drm/drm_device.h
> index 08b3b2467c4c..a33aedd5e9ec 100644
> --- a/include/drm/drm_device.h
> +++ b/include/drm/drm_device.h
> @@ -35,7 +35,9 @@ struct pci_controller;
> * struct drm_wedge_task_info - information about the guilty task of a wedge dev
> */
> struct drm_wedge_task_info {
> + /** @pid: pid of the task */
> pid_t pid;
> + /** @comm: command name of the task */
> char comm[TASK_COMM_LEN];
> };
>
Acked-by: Randy Dunlap <rdunlap at infradead.org>
Tested-by: Randy Dunlap <rdunlap at infradead.org>
--
~Randy
More information about the dri-devel
mailing list