[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a36c4e33120c47127a6dfbe007414a84.sboyd@kernel.org>
Date: Fri, 02 Aug 2024 16:54:11 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Geert Uytterhoeven <geert+renesas@...der.be>, Linus Walleij <linus.walleij@...aro.org>, Michael Turquette <mturquette@...libre.com>, Rob Herring (Arm) <robh@...nel.org>
Cc: linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org, linux-renesas-soc@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] clk: Use of_property_present()
Quoting Rob Herring (Arm) (2024-07-31 12:12:42)
> Use of_property_present() to test for property presence rather than
> of_(find|get)_property(). This is part of a larger effort to remove
> callers of of_find_property() and similar functions.
> of_(find|get)_property() leak the DT struct property and data pointers
> which is a problem for dynamically allocated nodes which may be freed.
>
> Signed-off-by: Rob Herring (Arm) <robh@...nel.org>
> ---
Applied to clk-next
Powered by blists - more mailing lists