[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADnq5_P6JgNkvrV69LDc7xcbOnLD9suUfdBnxK0NR+mHPLwyAA@mail.gmail.com>
Date: Mon, 7 Aug 2023 13:18:33 -0400
From: Alex Deucher <alexdeucher@...il.com>
To: Ran Sun <sunran001@...suo.com>
Cc: alexander.deucher@....com, dri-devel@...ts.freedesktop.org,
amd-gfx@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/amdgpu: Clean up errors in vega20_ih.c
Applied. Thanks!
On Wed, Aug 2, 2023 at 2:46 AM Ran Sun <sunran001@...suo.com> wrote:
>
> Fix the following errors reported by checkpatch:
>
> ERROR: trailing statements should be on next line
> ERROR: that open brace { should be on the previous line
>
> Signed-off-by: Ran Sun <sunran001@...suo.com>
> ---
> drivers/gpu/drm/amd/amdgpu/vega20_ih.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/vega20_ih.c b/drivers/gpu/drm/amd/amdgpu/vega20_ih.c
> index 544ee55a22da..dbc99536440f 100644
> --- a/drivers/gpu/drm/amd/amdgpu/vega20_ih.c
> +++ b/drivers/gpu/drm/amd/amdgpu/vega20_ih.c
> @@ -500,7 +500,8 @@ static int vega20_ih_self_irq(struct amdgpu_device *adev,
> case 2:
> schedule_work(&adev->irq.ih2_work);
> break;
> - default: break;
> + default:
> + break;
> }
> return 0;
> }
> @@ -710,8 +711,7 @@ static void vega20_ih_set_interrupt_funcs(struct amdgpu_device *adev)
> adev->irq.ih_funcs = &vega20_ih_funcs;
> }
>
> -const struct amdgpu_ip_block_version vega20_ih_ip_block =
> -{
> +const struct amdgpu_ip_block_version vega20_ih_ip_block = {
> .type = AMD_IP_BLOCK_TYPE_IH,
> .major = 4,
> .minor = 2,
> --
> 2.17.1
>
Powered by blists - more mailing lists