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: <abd2fd90-7ff3-48df-ad6d-64796000059f@web.de>
Date: Tue, 27 Aug 2024 22:08:09 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Stephen Boyd <sboyd@...nel.org>, linux-clk@...r.kernel.org,
 linux-arm-msm@...r.kernel.org, opensource.kernel@...o.com,
 Bjorn Andersson <andersson@...nel.org>,
 Michael Turquette <mturquette@...libre.com>, Yan Zhen <yanzhen@...o.com>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3] clk: qcom: Fix error checking for
 devm_clk_hw_get_clk()

> > The devm_clk_hw_get_clk() function returns error pointers.
> > It never returns NULL.  Update the check accordingly.
>
> It can return NULL if the 'hw' pointer passed in is NULL.

How does this view fit to a published function implementation?
https://elixir.bootlin.com/linux/v6.11-rc5/source/drivers/clk/clk.c#L4703

Regards,
Markus

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ