Re: [PATCH v2] scsi: ufs: ufshcd-pltfrm: Use of_property_present()
From: Martin K. Petersen
Date: Mon Aug 12 2024 - 18:17:41 EST
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