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_Pfo=LSvOU7T0NdDqDMk3k1LzmrT0t93OOOXvyxRAs2+A@mail.gmail.com>
Date:   Mon, 7 Aug 2023 13:26:50 -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 amdgpu_atombios.h

Applied.  Thanks!

On Wed, Aug 2, 2023 at 3:23 AM Ran Sun <sunran001@...suo.com> wrote:
>
> Fix the following errors reported by checkpatch:
>
> ERROR: open brace '{' following struct go on the same line
>
> Signed-off-by: Ran Sun <sunran001@...suo.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h | 9 +++------
>  1 file changed, 3 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h
> index b639a80ee3fc..0811474e8fd3 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h
> @@ -89,8 +89,7 @@ struct atom_memory_info {
>
>  #define MAX_AC_TIMING_ENTRIES 16
>
> -struct atom_memory_clock_range_table
> -{
> +struct atom_memory_clock_range_table {
>         u8 num_entries;
>         u8 rsv[3];
>         u32 mclk[MAX_AC_TIMING_ENTRIES];
> @@ -118,14 +117,12 @@ struct atom_mc_reg_table {
>
>  #define MAX_VOLTAGE_ENTRIES 32
>
> -struct atom_voltage_table_entry
> -{
> +struct atom_voltage_table_entry {
>         u16 value;
>         u32 smio_low;
>  };
>
> -struct atom_voltage_table
> -{
> +struct atom_voltage_table {
>         u32 count;
>         u32 mask_low;
>         u32 phase_delay;
> --
> 2.17.1
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ