Skip to content

Commit f2cab4b

Browse files
rddunlapdakr
authored andcommitted
drm/nouveau: exec: fix ioctl kernel-doc warning
kernel-doc emits a warning: include/uapi/drm/nouveau_drm.h:49: warning: Cannot understand * @NOUVEAU_GETPARAM_EXEC_PUSH_MAX on line 49 - I thought it was a doc line We don't have a way to document a macro value via kernel-doc, so change the "/**" kernel-doc marker to a C comment and format the comment more like a kernel-doc comment for consistency. Fixes: d59e75e ("drm/nouveau: exec: report max pushs through getparam") Signed-off-by: Randy Dunlap <[email protected]> Cc: Dave Airlie <[email protected]> Cc: Danilo Krummrich <[email protected]> Cc: Karol Herbst <[email protected]> Cc: Lyude Paul <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Bragatheswaran Manickavel <[email protected]> Reviewed-by: Lyude Paul <[email protected]> Signed-off-by: Danilo Krummrich <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent ad3e33f commit f2cab4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/uapi/drm/nouveau_drm.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ extern "C" {
4545
#define NOUVEAU_GETPARAM_HAS_BO_USAGE 15
4646
#define NOUVEAU_GETPARAM_HAS_PAGEFLIP 16
4747

48-
/**
49-
* @NOUVEAU_GETPARAM_EXEC_PUSH_MAX
48+
/*
49+
* NOUVEAU_GETPARAM_EXEC_PUSH_MAX - query max pushes through getparam
5050
*
5151
* Query the maximum amount of IBs that can be pushed through a single
5252
* &drm_nouveau_exec structure and hence a single &DRM_IOCTL_NOUVEAU_EXEC

0 commit comments

Comments
 (0)