summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBagas Sanjaya <bagasdotme@gmail.com>2023-02-03 17:02:14 +0700
committerLucas Stach <l.stach@pengutronix.de>2023-02-03 11:25:37 +0100
commit24c26ddc349d45f01359c87da0393de508a0ad1d (patch)
treec3bd011c44fe3f5b48cffe4e4a77baa31ca075d7
parent4eaa23f7153d8684f66e6cf6ffbabeb14617f192 (diff)
downloadlinux-24c26ddc349d45f01359c87da0393de508a0ad1d.tar.gz
linux-24c26ddc349d45f01359c87da0393de508a0ad1d.tar.xz
drm/scheduler: Fix elapsed_ns kernel-doc error
Stephen Rothwell reported htmldocs warnings: include/drm/gpu_scheduler.h:232: warning: Incorrect use of kernel-doc format: * @elapsed_ns include/drm/gpu_scheduler.h:238: warning: Function parameter or member 'elapsed_ns' not described in 'drm_sched_entity' Fix the error by appending missing colon to @elapsed_ns name in its kernel-doc comment. Link: https://lore.kernel.org/linux-next/20230203135027.1a4679d3@canb.auug.org.au/ Fixes: 248cd9b265fca6 ("drm/scheduler: track GPU active time per entity") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
-rw-r--r--include/drm/gpu_scheduler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/gpu_scheduler.h b/include/drm/gpu_scheduler.h
index f88a3fc14fb1..aa771e01f63f 100644
--- a/include/drm/gpu_scheduler.h
+++ b/include/drm/gpu_scheduler.h
@@ -229,7 +229,7 @@ struct drm_sched_entity {
struct rb_node rb_tree_node;
/**
- * @elapsed_ns
+ * @elapsed_ns:
*
* Records the amount of time where jobs from this entity were active
* on the GPU.