Skip to contentSkip to conversation

drm/nouveau: exec: fix ioctl kernel-doc warning

PATCH Superseded Randy Dunlap 2 participants 2 messages Oct 7, 2023 – Oct 9, 2023

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/nouveau: exec: fix ioctl kernel-doc 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

Fixes d59e75eef52d ("drm/nouveau: exec: report max pushs through getparam")
Cc Dave Airlie <[email protected]>
Cc Danilo Krummrich <[email protected]>
Cc Karol Herbst <[email protected]>
Cc Lyude Paul <[email protected]>
---
 include/uapi/drm/nouveau_drm.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/uapi/drm/nouveau_drm.h +2 -2
diff -- a/include/uapi/drm/nouveau_drm.h b/include/uapi/drm/nouveau_drm.h
@@ -45,8 +45,8 @@ extern "C" {
 #define NOUVEAU_GETPARAM_HAS_BO_USAGE    15
 #define NOUVEAU_GETPARAM_HAS_PAGEFLIP    16
 
-/**
- * @NOUVEAU_GETPARAM_EXEC_PUSH_MAX
+/*
+ * NOUVEAU_GETPARAM_EXEC_PUSH_MAX - query max pushes through getparam
  *
  * Query the maximum amount of IBs that can be pushed through a single
  * &drm_nouveau_exec structure and hence a single &DRM_IOCTL_NOUVEAU_EXEC
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 30 lines · Randy Dunlap

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

Fixes d59e75eef52d ("drm/nouveau: exec: report max pushs through getparam")
Cc Dave Airlie <[email protected]>
Cc Danilo Krummrich <[email protected]>
Cc Karol Herbst <[email protected]>
Cc Lyude Paul <[email protected]>
---
 include/uapi/drm/nouveau_drm.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -- a/include/uapi/drm/nouveau_drm.h b/include/uapi/drm/nouveau_drm.h

include/uapi/drm/nouveau_drm.h +2 -2
@@ -45,8 +45,8 @@ extern "C" {
 #define NOUVEAU_GETPARAM_HAS_BO_USAGE    15
 #define NOUVEAU_GETPARAM_HAS_PAGEFLIP    16
 
-/**
- * @NOUVEAU_GETPARAM_EXEC_PUSH_MAX
+/*
+ * NOUVEAU_GETPARAM_EXEC_PUSH_MAX - query max pushes through getparam
  *
  * Query the maximum amount of IBs that can be pushed through a single
  * &drm_nouveau_exec structure and hence a single &DRM_IOCTL_NOUVEAU_EXEC
Signature · 3 lines
Cheers,
 Lyude Paul (she/her)
 Software Engineer at Red Hat