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] [thread-next>] [day] [month] [year] [list]
Message-ID: <3ab58c1e48447798d7525e7d2f42f1a2@foxhound.fi>
Date:   Tue, 31 Oct 2023 13:42:17 +0200
From:   José Pekkarinen <jose.pekkarinen@...hound.fi>
To:     Greg KH <gregkh@...uxfoundation.org>
Cc:     harry.wentland@....com, sunpeng.li@....com,
        Rodrigo.Siqueira@....com, skhan@...uxfoundation.org,
        dillon.varone@....com,
        linux-kernel-mentees@...ts.linuxfoundation.org,
        dri-devel@...ts.freedesktop.org, Xinhui.Pan@....com,
        linux-kernel@...r.kernel.org, samson.tam@....com,
        SyedSaaem.Rizvi@....com, aurabindo.pillai@....com,
        stable@...r.kernel.org, daniel@...ll.ch, george.shen@....com,
        alexander.deucher@....com, Jun.Lei@....com, airlied@...il.com,
        christian.koenig@....com
Subject: Re: [PATCH] drm/amd/display: remove redundant check

On 2023-10-31 07:48, Greg KH wrote:
> On Mon, Oct 30, 2023 at 07:17:48PM +0200, José Pekkarinen wrote:
>> This patch addresses the following warning spotted by
>> using coccinelle where the case checked does the same
>> than the else case.
>> 
>> drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c:4664:8-10: 
>> WARNING: possible condition with no effect (if == else)
>> 
>> Fixes: 974ce181 ("drm/amd/display: Add check for PState change in 
>> DCN32")
>> 
>> Cc: stable@...r.kernel.org
> 
> Why is this relevant for stable?

     Hi,

     I was asked to send it for stable because this code
looks different in amd-staging-drm-next, see here.

https://gitlab.freedesktop.org/agd5f/linux/-/blob/amd-staging-drm-next/drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c#L4661

     Feel free to let me know if this is wrong, or if I
need to review some other guidelines I may have missed.

     Thanks!

     José.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ