[PATCH] remoteproc: Use of_property_present()
Peng Fan
peng.fan at nxp.com
Wed Jul 31 18:51:09 PDT 2024
> Subject: [PATCH] remoteproc: Use of_property_present()
>
> 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 at kernel.org>
> ---
> drivers/remoteproc/imx_dsp_rproc.c | 2 +-
> drivers/remoteproc/imx_rproc.c | 2 +-
> drivers/remoteproc/xlnx_r5_remoteproc.c | 6 +++---
> 3 files changed, 5 insertions(+), 5 deletions(-)
For i.MX:
Acked-by: Peng Fan <peng.fan at nxp.com>
More information about the linux-arm-kernel
mailing list