[PATCH] drm/prime: drop unexpected word "the" in the comments

Jiang Jian posted 1 patch 3 years, 10 months ago
drivers/gpu/drm/drm_prime.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] drm/prime: drop unexpected word "the" in the comments
Posted by Jiang Jian 3 years, 10 months ago
there is an unexpected word "the" in the comments that need to be dropped

file: drivers/gpu/drm/drm_prime.c
line: 842
* of the the buffer described by the provided sg_table.
changed to
* of the buffer described by the provided sg_table.

Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>
---
 drivers/gpu/drm/drm_prime.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/drm_prime.c b/drivers/gpu/drm/drm_prime.c
index e3f09f18110c..a3f180653b8b 100644
--- a/drivers/gpu/drm/drm_prime.c
+++ b/drivers/gpu/drm/drm_prime.c
@@ -839,7 +839,7 @@ EXPORT_SYMBOL(drm_prime_pages_to_sg);
  * @sgt: sg_table describing the buffer to check
  *
  * This helper calculates the contiguous size in the DMA address space
- * of the the buffer described by the provided sg_table.
+ * of the buffer described by the provided sg_table.
  *
  * This is useful for implementing
  * &drm_gem_object_funcs.gem_prime_import_sg_table.
-- 
2.17.1
Re: (subset) [PATCH] drm/prime: drop unexpected word "the" in the comments
Posted by Maxime Ripard 3 years, 10 months ago
On Tue, 21 Jun 2022 21:02:10 +0800, Jiang Jian wrote:
> there is an unexpected word "the" in the comments that need to be dropped
> 
> file: drivers/gpu/drm/drm_prime.c
> line: 842
> * of the the buffer described by the provided sg_table.
> changed to
> * of the buffer described by the provided sg_table.
> 
> [...]

Applied to drm/drm-misc (drm-misc-next).

Thanks!
Maxime