Skip to contentSkip to conversation

dma-buf: 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 dma-buf: Fix comment typo

The double `have' is duplicated in line 696, remove one.

---
 drivers/gpu/drm/radeon/radeon_gem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/radeon_gem.c +1 -1
index 84843b3b3aef..261fcbae88d7 100644
@@ -693,7 +693,7 @@ int radeon_gem_va_ioctl(struct drm_device *dev, void *data,
 	}
 
 	/* !! DONT REMOVE !!
-	 * We don't support vm_id yet, to be sure we don't have have broken
+	 * We don't support vm_id yet, to be sure we don't have broken
 	 * userspace, reject anyone trying to use non 0 value thus moving
 	 * forward we can use those fields without breaking existant userspace
 	 */
Signature · 1 line
2.35.1
maintainer
#1 lore raw

Am 15.07.22 um 07:20 schrieb Jason Wang:

Quoted 1 line

The double `have' is duplicated in line 696, remove one.

The subject line is rather confusing since this isn't related to DMA-buf at all.

Please change that to "drm/radeon:", apart from that the patch looks good to me.

Christian.

Quoted 19 lines
---
  drivers/gpu/drm/radeon/radeon_gem.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/radeon_gem.c +1 -1
index 84843b3b3aef..261fcbae88d7 100644
@@ -693,7 +693,7 @@ int radeon_gem_va_ioctl(struct drm_device *dev, void *data,
  	}
 
  	/* !! DONT REMOVE !!
-	 * We don't support vm_id yet, to be sure we don't have have broken
+	 * We don't support vm_id yet, to be sure we don't have broken
  	 * userspace, reject anyone trying to use non 0 value thus moving
  	 * forward we can use those fields without breaking existant userspace
  	 */