All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/radeon: add missing spaces before ';'
       [not found] <20230724025911.7528-1-xujianghui@cdjrlc.com>
@ 2023-07-24  3:00   ` sunran001
  0 siblings, 0 replies; 5+ messages in thread
From: sunran001 @ 2023-07-24  3:00 UTC (permalink / raw)
  To: airlied, daniel, alexander.deucher; +Cc: amd-gfx, dri-devel, linux-kernel

ERROR: space required after that ';' (ctx:BxV)

Signed-off-by: Ran Sun <sunran001@208suo.com>
---
  drivers/gpu/drm/radeon/radeon_vce.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/radeon/radeon_vce.c 
b/drivers/gpu/drm/radeon/radeon_vce.c
index ca4a36464340..d1871af967d4 100644
--- a/drivers/gpu/drm/radeon/radeon_vce.c
+++ b/drivers/gpu/drm/radeon/radeon_vce.c
@@ -95,7 +95,7 @@ int radeon_vce_init(struct radeon_device *rdev)

  	size = rdev->vce_fw->size - strlen(fw_version) - 9;
  	c = rdev->vce_fw->data;
-	for (;size > 0; --size, ++c)
+	for (; size > 0; --size, ++c)
  		if (strncmp(c, fw_version, strlen(fw_version)) == 0)
  			break;

@@ -110,7 +110,7 @@ int radeon_vce_init(struct radeon_device *rdev)

  	size = rdev->vce_fw->size - strlen(fb_version) - 3;
  	c = rdev->vce_fw->data;
-	for (;size > 0; --size, ++c)
+	for (; size > 0; --size, ++c)
  		if (strncmp(c, fb_version, strlen(fb_version)) == 0)
  			break;

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

* [PATCH] drm/radeon: add missing spaces before ';'
@ 2023-07-24  3:00   ` sunran001
  0 siblings, 0 replies; 5+ messages in thread
From: sunran001 @ 2023-07-24  3:00 UTC (permalink / raw)
  To: airlied, daniel, alexander.deucher; +Cc: dri-devel, amd-gfx, linux-kernel

ERROR: space required after that ';' (ctx:BxV)

Signed-off-by: Ran Sun <sunran001@208suo.com>
---
  drivers/gpu/drm/radeon/radeon_vce.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/radeon/radeon_vce.c 
b/drivers/gpu/drm/radeon/radeon_vce.c
index ca4a36464340..d1871af967d4 100644
--- a/drivers/gpu/drm/radeon/radeon_vce.c
+++ b/drivers/gpu/drm/radeon/radeon_vce.c
@@ -95,7 +95,7 @@ int radeon_vce_init(struct radeon_device *rdev)

  	size = rdev->vce_fw->size - strlen(fw_version) - 9;
  	c = rdev->vce_fw->data;
-	for (;size > 0; --size, ++c)
+	for (; size > 0; --size, ++c)
  		if (strncmp(c, fw_version, strlen(fw_version)) == 0)
  			break;

@@ -110,7 +110,7 @@ int radeon_vce_init(struct radeon_device *rdev)

  	size = rdev->vce_fw->size - strlen(fb_version) - 3;
  	c = rdev->vce_fw->data;
-	for (;size > 0; --size, ++c)
+	for (; size > 0; --size, ++c)
  		if (strncmp(c, fb_version, strlen(fb_version)) == 0)
  			break;

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

* Re: [PATCH] drm/radeon: add missing spaces before ';'
  2023-07-24  3:00   ` sunran001
  (?)
@ 2023-07-24 21:34     ` Alex Deucher
  -1 siblings, 0 replies; 5+ messages in thread
From: Alex Deucher @ 2023-07-24 21:34 UTC (permalink / raw)
  To: sunran001
  Cc: airlied, daniel, alexander.deucher, dri-devel, amd-gfx, linux-kernel

Applied.  Thanks!

On Sun, Jul 23, 2023 at 11:00 PM <sunran001@208suo.com> wrote:
>
> ERROR: space required after that ';' (ctx:BxV)
>
> Signed-off-by: Ran Sun <sunran001@208suo.com>
> ---
>   drivers/gpu/drm/radeon/radeon_vce.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_vce.c
> b/drivers/gpu/drm/radeon/radeon_vce.c
> index ca4a36464340..d1871af967d4 100644
> --- a/drivers/gpu/drm/radeon/radeon_vce.c
> +++ b/drivers/gpu/drm/radeon/radeon_vce.c
> @@ -95,7 +95,7 @@ int radeon_vce_init(struct radeon_device *rdev)
>
>         size = rdev->vce_fw->size - strlen(fw_version) - 9;
>         c = rdev->vce_fw->data;
> -       for (;size > 0; --size, ++c)
> +       for (; size > 0; --size, ++c)
>                 if (strncmp(c, fw_version, strlen(fw_version)) == 0)
>                         break;
>
> @@ -110,7 +110,7 @@ int radeon_vce_init(struct radeon_device *rdev)
>
>         size = rdev->vce_fw->size - strlen(fb_version) - 3;
>         c = rdev->vce_fw->data;
> -       for (;size > 0; --size, ++c)
> +       for (; size > 0; --size, ++c)
>                 if (strncmp(c, fb_version, strlen(fb_version)) == 0)
>                         break;

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

* Re: [PATCH] drm/radeon: add missing spaces before ';'
@ 2023-07-24 21:34     ` Alex Deucher
  0 siblings, 0 replies; 5+ messages in thread
From: Alex Deucher @ 2023-07-24 21:34 UTC (permalink / raw)
  To: sunran001; +Cc: linux-kernel, amd-gfx, dri-devel, alexander.deucher

Applied.  Thanks!

On Sun, Jul 23, 2023 at 11:00 PM <sunran001@208suo.com> wrote:
>
> ERROR: space required after that ';' (ctx:BxV)
>
> Signed-off-by: Ran Sun <sunran001@208suo.com>
> ---
>   drivers/gpu/drm/radeon/radeon_vce.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_vce.c
> b/drivers/gpu/drm/radeon/radeon_vce.c
> index ca4a36464340..d1871af967d4 100644
> --- a/drivers/gpu/drm/radeon/radeon_vce.c
> +++ b/drivers/gpu/drm/radeon/radeon_vce.c
> @@ -95,7 +95,7 @@ int radeon_vce_init(struct radeon_device *rdev)
>
>         size = rdev->vce_fw->size - strlen(fw_version) - 9;
>         c = rdev->vce_fw->data;
> -       for (;size > 0; --size, ++c)
> +       for (; size > 0; --size, ++c)
>                 if (strncmp(c, fw_version, strlen(fw_version)) == 0)
>                         break;
>
> @@ -110,7 +110,7 @@ int radeon_vce_init(struct radeon_device *rdev)
>
>         size = rdev->vce_fw->size - strlen(fb_version) - 3;
>         c = rdev->vce_fw->data;
> -       for (;size > 0; --size, ++c)
> +       for (; size > 0; --size, ++c)
>                 if (strncmp(c, fb_version, strlen(fb_version)) == 0)
>                         break;

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

* Re: [PATCH] drm/radeon: add missing spaces before ';'
@ 2023-07-24 21:34     ` Alex Deucher
  0 siblings, 0 replies; 5+ messages in thread
From: Alex Deucher @ 2023-07-24 21:34 UTC (permalink / raw)
  To: sunran001
  Cc: linux-kernel, amd-gfx, dri-devel, daniel, alexander.deucher, airlied

Applied.  Thanks!

On Sun, Jul 23, 2023 at 11:00 PM <sunran001@208suo.com> wrote:
>
> ERROR: space required after that ';' (ctx:BxV)
>
> Signed-off-by: Ran Sun <sunran001@208suo.com>
> ---
>   drivers/gpu/drm/radeon/radeon_vce.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_vce.c
> b/drivers/gpu/drm/radeon/radeon_vce.c
> index ca4a36464340..d1871af967d4 100644
> --- a/drivers/gpu/drm/radeon/radeon_vce.c
> +++ b/drivers/gpu/drm/radeon/radeon_vce.c
> @@ -95,7 +95,7 @@ int radeon_vce_init(struct radeon_device *rdev)
>
>         size = rdev->vce_fw->size - strlen(fw_version) - 9;
>         c = rdev->vce_fw->data;
> -       for (;size > 0; --size, ++c)
> +       for (; size > 0; --size, ++c)
>                 if (strncmp(c, fw_version, strlen(fw_version)) == 0)
>                         break;
>
> @@ -110,7 +110,7 @@ int radeon_vce_init(struct radeon_device *rdev)
>
>         size = rdev->vce_fw->size - strlen(fb_version) - 3;
>         c = rdev->vce_fw->data;
> -       for (;size > 0; --size, ++c)
> +       for (; size > 0; --size, ++c)
>                 if (strncmp(c, fb_version, strlen(fb_version)) == 0)
>                         break;

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

end of thread, other threads:[~2023-07-24 21:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20230724025911.7528-1-xujianghui@cdjrlc.com>
2023-07-24  3:00 ` [PATCH] drm/radeon: add missing spaces before ';' sunran001
2023-07-24  3:00   ` sunran001
2023-07-24 21:34   ` Alex Deucher
2023-07-24 21:34     ` Alex Deucher
2023-07-24 21:34     ` Alex Deucher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.