Skip to contentSkip to conversation

drm/radeon: Fix syntax errors in comments

PATCH Applied Xiang wangx 3 participants 3 messages Dec 14, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/radeon: Fix syntax errors in comments

Delete the redundant word 'we'.

---
 drivers/gpu/drm/radeon/radeon_vce.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/radeon_vce.c +1 -1
index 511a942e851d..ca4a36464340 100644
@@ -513,7 +513,7 @@ int radeon_vce_cs_reloc(struct radeon_cs_parser *p, int lo, int hi,
  * @allocated: allocated a new handle?
  *
  * Validates the handle and return the found session index or -EINVAL
- * we we don't have another free session index.
+ * we don't have another free session index.
  */
 static int radeon_vce_validate_handle(struct radeon_cs_parser *p,
 				      uint32_t handle, bool *allocated)
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw

Am 14.12.21 um 14:52 schrieb Xiang wangx:

Quoted 3 lines

Delete the redundant word 'we'.

Well not a syntax error in the sense of a coding error, but valid fix anyway :)

Quoted 17 lines
---
  drivers/gpu/drm/radeon/radeon_vce.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/radeon_vce.c +1 -1
index 511a942e851d..ca4a36464340 100644
@@ -513,7 +513,7 @@ int radeon_vce_cs_reloc(struct radeon_cs_parser *p, int lo, int hi,
   * @allocated: allocated a new handle?
   *
   * Validates the handle and return the found session index or -EINVAL
- * we we don't have another free session index.
+ * we don't have another free session index.
   */
  static int radeon_vce_validate_handle(struct radeon_cs_parser *p,
  				      uint32_t handle, bool *allocated)
Applied
#2 lore raw

Applied. Thanks!

Alex

Quoted 29 lines · Christian König

Am 14.12.21 um 14:52 schrieb Xiang wangx:

Quoted 3 lines

Delete the redundant word 'we'.

Well not a syntax error in the sense of a coding error, but valid fix anyway :)

Quoted 17 lines
---
  drivers/gpu/drm/radeon/radeon_vce.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/radeon_vce.c +1 -1
index 511a942e851d..ca4a36464340 100644
@@ -513,7 +513,7 @@ int radeon_vce_cs_reloc(struct radeon_cs_parser *p, int lo, int hi,
   * @allocated: allocated a new handle?
   *
   * Validates the handle and return the found session index or -EINVAL
- * we we don't have another free session index.
+ * we don't have another free session index.
   */
  static int radeon_vce_validate_handle(struct radeon_cs_parser *p,
                                    uint32_t handle, bool *allocated)