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: <517db2b8-6be0-2f2b-f98e-ca5ca27d0603@linaro.org>
Date:   Tue, 26 Apr 2022 00:08:18 +0300
From:   Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To:     Stephen Boyd <swboyd@...omium.org>, cgel.zte@...il.com,
        robdclark@...il.com, sean@...rly.run
Cc:     quic_abhinavk@...cinc.com, airlied@...ux.ie, daniel@...ll.ch,
        bjorn.andersson@...aro.org,
        angelogioacchino.delregno@...ainline.org, tiny.windzz@...il.com,
        architt@...eaurora.org, jsanka@...eaurora.org,
        skolluku@...eaurora.org, ryadav@...eaurora.org,
        linux-arm-msm@...r.kernel.org, dri-devel@...ts.freedesktop.org,
        freedreno@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
        Lv Ruyi <lv.ruyi@....com.cn>, Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH] drm/msm/dpu: fix error check return value of
 irq_of_parse_and_map()

On 25/04/2022 23:10, Stephen Boyd wrote:
> Quoting cgel.zte@...il.com (2022-04-25 02:09:47)
>> From: Lv Ruyi <lv.ruyi@....com.cn>
>>
>> The irq_of_parse_and_map() function returns 0 on failure, and does not
>> return a negative value anyhow, so never enter this conditional branch.
>>
>> Fixes: 25fdd5933e4c ("drm/msm: Add SDM845 DPU support")
>> Reported-by: Zeal Robot <zealci@....com.cn>
>> Signed-off-by: Lv Ruyi <lv.ruyi@....com.cn>
>> ---
> 
> Question still stands why we can't use platform device APIs.

Let's do a separate pass and replace all of functions with platform 
device API.

> Reviewed-by: Stephen Boyd <swboyd@...omium.org>


-- 
With best wishes
Dmitry

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ