Re: [PATCH] drm/jpeg: Clean up errors in jpeg_v2_0.c
From: Alex Deucher
Date: Mon Aug 07 2023 - 13:23:22 EST
Applied. Thanks!
On Wed, Aug 2, 2023 at 3:00 AM Ran Sun <sunran001@xxxxxxxxxx> wrote:
>
> Fix the following errors reported by checkpatch:
>
> ERROR: that open brace { should be on the previous line
>
> Signed-off-by: Ran Sun <sunran001@xxxxxxxxxx>
> ---
> drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c b/drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c
> index c25d4a07350b..1c8116d75f63 100644
> --- a/drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c
> @@ -807,8 +807,7 @@ static void jpeg_v2_0_set_irq_funcs(struct amdgpu_device *adev)
> adev->jpeg.inst->irq.funcs = &jpeg_v2_0_irq_funcs;
> }
>
> -const struct amdgpu_ip_block_version jpeg_v2_0_ip_block =
> -{
> +const struct amdgpu_ip_block_version jpeg_v2_0_ip_block = {
> .type = AMD_IP_BLOCK_TYPE_JPEG,
> .major = 2,
> .minor = 0,
> --
> 2.17.1
>