2022-07-19 13:41:58

by Jason Wang

[permalink] [raw]
Subject: [PATCH] drm/radeon: Fix comment typo

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

Signed-off-by: Jason Wang <[email protected]>
---
drivers/gpu/drm/radeon/radeon_gem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/radeon/radeon_gem.c b/drivers/gpu/drm/radeon/radeon_gem.c
index 84843b3b3aef..261fcbae88d7 100644
--- a/drivers/gpu/drm/radeon/radeon_gem.c
+++ b/drivers/gpu/drm/radeon/radeon_gem.c
@@ -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
*/
--
2.35.1


2022-07-19 13:55:13

by Christian König

[permalink] [raw]
Subject: Re: [PATCH] drm/radeon: Fix comment typo

Am 16.07.22 um 05:57 schrieb Jason Wang:
> The double `have' is duplicated in line 696, remove one.
>
> Signed-off-by: Jason Wang <[email protected]>

Reviewed-by: Christian König <[email protected]>

> ---
> drivers/gpu/drm/radeon/radeon_gem.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_gem.c b/drivers/gpu/drm/radeon/radeon_gem.c
> index 84843b3b3aef..261fcbae88d7 100644
> --- a/drivers/gpu/drm/radeon/radeon_gem.c
> +++ b/drivers/gpu/drm/radeon/radeon_gem.c
> @@ -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
> */

2022-07-19 19:54:15

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] drm/radeon: Fix comment typo

Applied. Thanks!

On Tue, Jul 19, 2022 at 8:33 AM Christian König
<[email protected]> wrote:
>
> Am 16.07.22 um 05:57 schrieb Jason Wang:
> > The double `have' is duplicated in line 696, remove one.
> >
> > Signed-off-by: Jason Wang <[email protected]>
>
> Reviewed-by: Christian König <[email protected]>
>
> > ---
> > drivers/gpu/drm/radeon/radeon_gem.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/radeon/radeon_gem.c b/drivers/gpu/drm/radeon/radeon_gem.c
> > index 84843b3b3aef..261fcbae88d7 100644
> > --- a/drivers/gpu/drm/radeon/radeon_gem.c
> > +++ b/drivers/gpu/drm/radeon/radeon_gem.c
> > @@ -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
> > */
>