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_Pb9yEKSTaA1hTM1G5yLjCa5QeDKmB7BdbJykVyK9XTdg@mail.gmail.com>
Date:   Mon, 7 Aug 2023 13:08:15 -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/amd/dc: Clean up errors in hpd_regs.h

Applied.  Thanks!

On Tue, Aug 1, 2023 at 10:47 PM Ran Sun <sunran001@...suo.com> wrote:
>
> Fix the following errors reported by checkpatch:
>
> ERROR: space required after that ',' (ctx:VxV)
>
> Signed-off-by: Ran Sun <sunran001@...suo.com>
> ---
>  drivers/gpu/drm/amd/display/dc/gpio/hpd_regs.h | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/gpio/hpd_regs.h b/drivers/gpu/drm/amd/display/dc/gpio/hpd_regs.h
> index dcfdd71b2304..debb363cfcf4 100644
> --- a/drivers/gpu/drm/amd/display/dc/gpio/hpd_regs.h
> +++ b/drivers/gpu/drm/amd/display/dc/gpio/hpd_regs.h
> @@ -36,17 +36,17 @@
>  #define ONE_MORE_5 6
>
>
> -#define HPD_GPIO_REG_LIST_ENTRY(type,cd,id) \
> +#define HPD_GPIO_REG_LIST_ENTRY(type, cd, id) \
>         .type ## _reg =  REG(DC_GPIO_HPD_## type),\
>         .type ## _mask =  DC_GPIO_HPD_ ## type ## __DC_GPIO_HPD ## id ## _ ## type ## _MASK,\
>         .type ## _shift = DC_GPIO_HPD_ ## type ## __DC_GPIO_HPD ## id ## _ ## type ## __SHIFT
>
>  #define HPD_GPIO_REG_LIST(id) \
>         {\
> -       HPD_GPIO_REG_LIST_ENTRY(MASK,cd,id),\
> -       HPD_GPIO_REG_LIST_ENTRY(A,cd,id),\
> -       HPD_GPIO_REG_LIST_ENTRY(EN,cd,id),\
> -       HPD_GPIO_REG_LIST_ENTRY(Y,cd,id)\
> +       HPD_GPIO_REG_LIST_ENTRY(MASK, cd, id),\
> +       HPD_GPIO_REG_LIST_ENTRY(A, cd, id),\
> +       HPD_GPIO_REG_LIST_ENTRY(EN, cd, id),\
> +       HPD_GPIO_REG_LIST_ENTRY(Y, cd, id)\
>         }
>
>  #define HPD_REG_LIST(id) \
> --
> 2.17.1
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ