mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/radeon: Fix syntax errors in comments
@ 2021-12-14 13:52 Xiang wangx
  2021-12-14 14:54 ` Christian König
  0 siblings, 1 reply; 3+ messages in thread
From: Xiang wangx @ 2021-12-14 13:52 UTC (permalink / raw)
  To: airlied
  Cc: alexander.deucher, christian.koenig, Xinhui.Pan, daniel, amd-gfx,
	dri-devel, linux-kernel, Xiang wangx

Delete the redundant word 'we'.

Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
---
 drivers/gpu/drm/radeon/radeon_vce.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/radeon/radeon_vce.c b/drivers/gpu/drm/radeon/radeon_vce.c
index 511a942e851d..ca4a36464340 100644
--- a/drivers/gpu/drm/radeon/radeon_vce.c
+++ b/drivers/gpu/drm/radeon/radeon_vce.c
@@ -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)
-- 
2.20.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/radeon: Fix syntax errors in comments
  2021-12-14 13:52 [PATCH] drm/radeon: Fix syntax errors in comments Xiang wangx
@ 2021-12-14 14:54 ` Christian König
  2021-12-14 19:23   ` Alex Deucher
  0 siblings, 1 reply; 3+ messages in thread
From: Christian König @ 2021-12-14 14:54 UTC (permalink / raw)
  To: Xiang wangx, airlied
  Cc: Xinhui.Pan, linux-kernel, dri-devel, amd-gfx, daniel,
	alexander.deucher, christian.koenig

Am 14.12.21 um 14:52 schrieb Xiang wangx:
> Delete the redundant word 'we'.
>
> Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>

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

Reviewed-by: Christian König <christian.koenig@amd.com>

> ---
>   drivers/gpu/drm/radeon/radeon_vce.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_vce.c b/drivers/gpu/drm/radeon/radeon_vce.c
> index 511a942e851d..ca4a36464340 100644
> --- a/drivers/gpu/drm/radeon/radeon_vce.c
> +++ b/drivers/gpu/drm/radeon/radeon_vce.c
> @@ -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)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/radeon: Fix syntax errors in comments
  2021-12-14 14:54 ` Christian König
@ 2021-12-14 19:23   ` Alex Deucher
  0 siblings, 0 replies; 3+ messages in thread
From: Alex Deucher @ 2021-12-14 19:23 UTC (permalink / raw)
  To: Christian König
  Cc: Xiang wangx, Dave Airlie, xinhui pan, LKML, amd-gfx list,
	Maling list - DRI developers, Deucher, Alexander,
	Christian Koenig

Applied.  Thanks!

Alex

On Tue, Dec 14, 2021 at 9:54 AM Christian König
<ckoenig.leichtzumerken@gmail.com> wrote:
>
> Am 14.12.21 um 14:52 schrieb Xiang wangx:
> > Delete the redundant word 'we'.
> >
> > Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
>
> Well not a syntax error in the sense of a coding error, but valid fix
> anyway :)
>
> Reviewed-by: Christian König <christian.koenig@amd.com>
>
> > ---
> >   drivers/gpu/drm/radeon/radeon_vce.c | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/radeon/radeon_vce.c b/drivers/gpu/drm/radeon/radeon_vce.c
> > index 511a942e851d..ca4a36464340 100644
> > --- a/drivers/gpu/drm/radeon/radeon_vce.c
> > +++ b/drivers/gpu/drm/radeon/radeon_vce.c
> > @@ -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)
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-14 19:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-14 13:52 [PATCH] drm/radeon: Fix syntax errors in comments Xiang wangx
2021-12-14 14:54 ` Christian König
2021-12-14 19:23   ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®