[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq134n9z8s4.fsf@ca-mkp.ca.oracle.com>
Date: Mon, 12 Aug 2024 18:17:14 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: "Rob Herring (Arm)" <robh@...nel.org>
Cc: "James E.J. Bottomley" <James.Bottomley@...senPartnership.com>,
"Martin
K. Petersen" <martin.petersen@...cle.com>,
Bart Van Assche
<bvanassche@....org>, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] scsi: ufs: ufshcd-pltfrm: Use of_property_present()
Rob,
> Use of_property_present() to test for property presence rather than
> of_find_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.
Applied to 6.12/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists