Skip to contentSkip to conversation

drm/i915/selftests: Fix comment typo

PATCH In review Jason Wang 2 participants 2 messages Jul 18, 2022

Subsystems (2)
lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 drm/i915/selftests: Fix comment typo

The double `wait' is duplicated in line 974, remove one.

---
 drivers/gpu/drm/i915/selftests/i915_request.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/selftests/i915_request.c +1 -1
index c56a0c2cd2f7..ec05f578a698 100644
@@ -971,7 +971,7 @@ static struct i915_vma *empty_batch(struct drm_i915_private *i915)
 	if (err)
 		goto err;
 
-	/* Force the wait wait now to avoid including it in the benchmark */
+	/* Force the wait now to avoid including it in the benchmark */
 	err = i915_vma_sync(vma);
 	if (err)
 		goto err_pin;
Signature · 1 line
2.35.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 1 line · Jason Wang

The double `wait' is duplicated in line 974, remove one.

The line number changes... if you remove the "in line #" the msg gets better.
With that changed:

Quoted 22 lines
---
 drivers/gpu/drm/i915/selftests/i915_request.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/selftests/i915_request.c +1 -1
index c56a0c2cd2f7..ec05f578a698 100644
@@ -971,7 +971,7 @@ static struct i915_vma *empty_batch(struct drm_i915_private *i915)
 	if (err)
 		goto err;
 
-	/* Force the wait wait now to avoid including it in the benchmark */
+	/* Force the wait now to avoid including it in the benchmark */
 	err = i915_vma_sync(vma);
 	if (err)
 		goto err_pin;
Signature · 1 line
2.35.1