lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADnq5_M9j6pM+cic6PHj2k+AhkxnsyYfWMh2gfJ168uQD2jANQ@mail.gmail.com>
Date:   Mon, 7 Aug 2023 12:21:26 -0400
From:   Alex Deucher <alexdeucher@...il.com>
To:     Ran Sun <sunran001@...suo.com>
Cc:     alexander.deucher@....com, airlied@...il.com, daniel@...ll.ch,
        dri-devel@...ts.freedesktop.org, amd-gfx@...ts.freedesktop.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/amd/pm: Clean up errors in smu_v13_0_6_ppt.c

Applied.  Thanks!

On Mon, Jul 31, 2023 at 10:06 PM Ran Sun <sunran001@...suo.com> wrote:
>
> Fix the following errors reported by checkpatch:
>
> ERROR: code indent should use tabs where possible
> ERROR: that open brace { should be on the previous line
>
> Signed-off-by: Ran Sun <sunran001@...suo.com>
> ---
>  drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 9 ++++-----
>  1 file changed, 4 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
> index 1ac552142763..43afa1ee1b4a 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
> +++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
> @@ -1248,9 +1248,9 @@ static int smu_v13_0_6_get_power_limit(struct smu_context *smu,
>                                        uint32_t *default_power_limit,
>                                        uint32_t *max_power_limit)
>  {
> -        struct smu_table_context *smu_table = &smu->smu_table;
> -        struct PPTable_t *pptable =
> -                (struct PPTable_t *)smu_table->driver_pptable;
> +       struct smu_table_context *smu_table = &smu->smu_table;
> +       struct PPTable_t *pptable =
> +               (struct PPTable_t *)smu_table->driver_pptable;
>         uint32_t power_limit = 0;
>         int ret;
>
> @@ -1366,8 +1366,7 @@ static int smu_v13_0_6_set_irq_state(struct amdgpu_device *adev,
>         return 0;
>  }
>
> -static const struct amdgpu_irq_src_funcs smu_v13_0_6_irq_funcs =
> -{
> +static const struct amdgpu_irq_src_funcs smu_v13_0_6_irq_funcs = {
>         .set = smu_v13_0_6_set_irq_state,
>         .process = smu_v13_0_6_irq_process,
>  };
> --
> 2.17.1
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ