[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9ce5d7b09b5358c9190d8a999d79de23.sboyd@kernel.org>
Date: Tue, 27 Aug 2024 11:18:10 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Yan Zhen <yanzhen@...o.com>, andersson@...nel.org, mturquette@...libre.com
Cc: linux-arm-msm@...r.kernel.org, linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org, opensource.kernel@...o.com, Yan Zhen <yanzhen@...o.com>
Subject: Re: [PATCH v3] clk: qcom: Fix error checking for devm_clk_hw_get_clk()
Quoting Yan Zhen (2024-08-26 19:52:52)
> 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.
Powered by blists - more mailing lists