Re: [PATCH] drm/radeon: add missing spaces before ';'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Applied.  Thanks!

On Sun, Jul 23, 2023 at 11:00 PM <sunran001@xxxxxxxxxx> wrote:
>
> ERROR: space required after that ';' (ctx:BxV)
>
> Signed-off-by: Ran Sun <sunran001@xxxxxxxxxx>
> ---
>   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;




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux