[PATCH] drm/jpeg: Clean up errors in jpeg_v2_0.c

Alex Deucher alexdeucher at gmail.com
Mon Aug 7 17:22:56 UTC 2023


Applied.  Thanks!

On Wed, Aug 2, 2023 at 3:00 AM Ran Sun <sunran001 at 208suo.com> wrote:
>
> Fix the following errors reported by checkpatch:
>
> ERROR: that open brace { should be on the previous line
>
> Signed-off-by: Ran Sun <sunran001 at 208suo.com>
> ---
>  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
>


More information about the amd-gfx mailing list