[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Ztgo6YImt1KetSCy@8bytes.org>
Date: Wed, 4 Sep 2024 11:31:21 +0200
From: Joerg Roedel <joro@...tes.org>
To: "Rob Herring (Arm)" <robh@...nel.org>
Cc: Will Deacon <will@...nel.org>, Robin Murphy <robin.murphy@....com>,
iommu@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iommu: Use of_property_present()
On Wed, Jul 31, 2024 at 01:12:44PM -0600, Rob Herring (Arm) wrote:
> 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_property()
> leaks 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>
> ---
> drivers/iommu/fsl_pamu_domain.c | 4 +---
> drivers/iommu/of_iommu.c | 2 +-
> 2 files changed, 2 insertions(+), 4 deletions(-)
Applied, thanks.
Powered by blists - more mailing lists