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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADnq5_Mb3c1Mks+O-9jP15gH-Be+oL8CX9WJ2zdF3hxvmNT72w@mail.gmail.com>
Date:   Mon, 7 Aug 2023 12:40:25 -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: Clean up errors in vega10_processpptables.c

Applied.  Thanks!

On Tue, Aug 1, 2023 at 5:19 AM Ran Sun <sunran001@...suo.com> wrote:
>
> Fix the following errors reported by checkpatch:
>
> ERROR: "foo* bar" should be "foo *bar"
> ERROR: space required before the open brace '{'
> ERROR: space required before the open parenthesis '('
>
> Signed-off-by: Ran Sun <sunran001@...suo.com>
> ---
>  .../gpu/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c
> index bb90d8abf79b..3be616af327e 100644
> --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c
> +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c
> @@ -372,9 +372,9 @@ static int get_mm_clock_voltage_table(
>         return 0;
>  }
>
> -static void get_scl_sda_value(uint8_t line, uint8_t *scl, uint8_t* sda)
> +static void get_scl_sda_value(uint8_t line, uint8_t *scl, uint8_t *sda)
>  {
> -       switch(line){
> +       switch (line) {
>         case Vega10_I2CLineID_DDC1:
>                 *scl = Vega10_I2C_DDC1CLK;
>                 *sda = Vega10_I2C_DDC1DATA;
> @@ -954,7 +954,7 @@ static int init_powerplay_extended_tables(
>         if (!result && powerplay_table->usPixclkDependencyTableOffset)
>                 result = get_pix_clk_voltage_dependency_table(hwmgr,
>                                 &pp_table_info->vdd_dep_on_pixclk,
> -                               (const ATOM_Vega10_PIXCLK_Dependency_Table*)
> +                               (const ATOM_Vega10_PIXCLK_Dependency_Table *)
>                                 pixclk_dep_table);
>
>         if (!result && powerplay_table->usPhyClkDependencyTableOffset)
> --
> 2.17.1
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ