[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<PAXPR04MB8459577498192D3DAF66F8E388B22@PAXPR04MB8459.eurprd04.prod.outlook.com>
Date: Thu, 1 Aug 2024 01:50:10 +0000
From: Peng Fan <peng.fan@....com>
To: "Rob Herring (Arm)" <robh@...nel.org>, MyungJoo Ham
<myungjoo.ham@...sung.com>, Kyungmin Park <kyungmin.park@...sung.com>,
Chanwoo Choi <cw00.choi@...sung.com>, Shawn Guo <shawnguo@...nel.org>, Sascha
Hauer <s.hauer@...gutronix.de>, Pengutronix Kernel Team
<kernel@...gutronix.de>, Fabio Estevam <festevam@...il.com>
CC: "linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
"imx@...ts.linux.dev" <imx@...ts.linux.dev>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] devfreq: imx-bus: Use of_property_present()
> Subject: [PATCH] devfreq: imx-bus: Use of_property_present()
>
> Use of_property_present() to test for property presence rather than
> of_get_property(). This is part of a larger effort to remove callers of
> of_get_property() and similar functions. of_get_property() leaks the DT
> property data pointer which is a problem for dynamically allocated
> nodes which may be freed.
>
> Signed-off-by: Rob Herring (Arm) <robh@...nel.org>
Acked-by: Peng Fan <peng.fan@....com>
Powered by blists - more mailing lists