[PATCH] drm/mm: Fix the param description for 'size' tag

Cai Huoqing cai.huoqing at linux.dev
Thu Mar 17 02:26:31 UTC 2022


Using "size of" instead of  "end of" to fix the description for 'size' tag.

Signed-off-by: Cai Huoqing <cai.huoqing at linux.dev>
---
 drivers/gpu/drm/drm_mm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/drm_mm.c b/drivers/gpu/drm/drm_mm.c
index 8257f9d4f619..c2eedfd264f8 100644
--- a/drivers/gpu/drm/drm_mm.c
+++ b/drivers/gpu/drm/drm_mm.c
@@ -956,7 +956,7 @@ EXPORT_SYMBOL(drm_mm_scan_color_evict);
  * drm_mm_init - initialize a drm-mm allocator
  * @mm: the drm_mm structure to initialize
  * @start: start of the range managed by @mm
- * @size: end of the range managed by @mm
+ * @size: size of the range managed by @mm
  *
  * Note that @mm must be cleared to 0 before calling this function.
  */
-- 
2.25.1



More information about the dri-devel mailing list