drm: Add missing struct drm_wedge_task_info kernel doc
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: 183bccafa1 ("drm: Create a task info option for wedge events")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/lkml/20250618151307.4a1a5e17@canb.auug.org.au/
Reviewed-by: Raag Jadav <raag.jadav@intel.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20250704190724.1159416-2-andrealmeid@igalia.com
Signed-off-by: André Almeida <andrealmeid@igalia.com>
This commit is contained in:
@@ -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];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user