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: <cpcdztpwosze4l3uhf467vorfu7jqfciglmzr4r6xcre5eci6m@pqwaadsviapv>
Date: Thu, 29 Aug 2024 12:02:20 +0300
From: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To: Yan Zhen <yanzhen@...o.com>
Cc: mturquette@...libre.com, sboyd@...nel.org, andersson@...nel.org, 
	linux-arm-msm@...r.kernel.org, linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org, 
	opensoure.kernel@...o.com
Subject: Re: [PATCH v2] clk: qcom: Fix error checking for
 devm_clk_hw_get_clk()

On Mon, Aug 26, 2024 at 02:17:17PM GMT, Yan Zhen wrote:
> The devm_clk_hw_get_clk() function returns error pointers.
> It never returns NULL.  Update the check accordingly.
> 
> 
> Signed-off-by: Yan Zhen <yanzhen@...o.com>
> ---
> 
> Changes in v2:
> - Return PTR_ERR(icd[i].clk) instead of -ENOENT.
> 


Fixes: 8737ec830ee3 ("clk: qcom: common: Add interconnect clocks support")
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>


-- 
With best wishes
Dmitry

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ