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_MrrJkDVC_yRkNTem7MQ3shcmwHt_ZMDyKd5AxJhR84Mw@mail.gmail.com>
Date:   Mon, 28 Oct 2019 09:59:11 -0400
From:   Alex Deucher <alexdeucher@...il.com>
To:     YueHaibing <yuehaibing@...wei.com>
Cc:     "Wentland, Harry" <harry.wentland@....com>,
        "Leo (Sunpeng) Li" <sunpeng.li@....com>,
        "Deucher, Alexander" <alexander.deucher@....com>,
        Christian Koenig <christian.koenig@....com>,
        Chunming Zhou <David1.Zhou@....com>,
        Dave Airlie <airlied@...ux.ie>,
        Daniel Vetter <daniel@...ll.ch>,
        Bhawanpreet Lakha <Bhawanpreet.Lakha@....com>,
        Dmytro Laktyushkin <Dmytro.Laktyushkin@....com>,
        Charlene Liu <charlene.liu@....com>,
        Eric Bernstein <eric.bernstein@....com>,
        Jun Lei <Jun.Lei@....com>, Anthony Koo <Anthony.Koo@....com>,
        "Amini, Reza" <Reza.Amini@....com>,
        "Tatla, Harmanprit" <Harmanprit.Tatla@....com>,
        Maling list - DRI developers 
        <dri-devel@...ts.freedesktop.org>,
        amd-gfx list <amd-gfx@...ts.freedesktop.org>,
        LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next] drm/amd/display: Make calculate_integer_scaling static

On Mon, Oct 28, 2019 at 9:36 AM YueHaibing <yuehaibing@...wei.com> wrote:
>
> Fix sparse warning:
>
> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:963:6:
>  warning: symbol 'calculate_integer_scaling' was not declared. Should it be static?
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>

Applied.  Thanks!

Alex

> ---
>  drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
> index 70e601a..3769830 100644
> --- a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
> +++ b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
> @@ -960,7 +960,7 @@ static bool are_rects_integer_multiples(struct rect src, struct rect dest)
>         return false;
>  }
>
> -void calculate_integer_scaling(struct pipe_ctx *pipe_ctx)
> +static void calculate_integer_scaling(struct pipe_ctx *pipe_ctx)
>  {
>         if (!pipe_ctx->plane_state->scaling_quality.integer_scaling)
>                 return;
> --
> 2.7.4
>
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@...ts.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ