Re: [PATCH] drm: vc4: Use of_property_present()

2024-09-09 Thread Dave Stevenson
On Fri, 6 Sept 2024 at 20:15, Rob Herring wrote: > > On Fri, Sep 6, 2024 at 9:24 AM Dave Stevenson > wrote: > > > > On Wed, 4 Sept 2024 at 14:19, Rob Herring wrote: > > > > > > On Wed, Sep 4, 2024 at 6:18 AM Dave Stevenson > > > wrote: > > > > > > > > Hi Rob > > > > > > > > On Tue, 3 Sept 2024

Re: [PATCH] drm: vc4: Use of_property_present()

2024-09-06 Thread Rob Herring
On Fri, Sep 6, 2024 at 9:24 AM Dave Stevenson wrote: > > On Wed, 4 Sept 2024 at 14:19, Rob Herring wrote: > > > > On Wed, Sep 4, 2024 at 6:18 AM Dave Stevenson > > wrote: > > > > > > Hi Rob > > > > > > On Tue, 3 Sept 2024 at 20:19, Rob Herring wrote: > > > > > > > > On Wed, Jul 31, 2024 at 2:13

Re: [PATCH] drm: vc4: Use of_property_present()

2024-09-06 Thread Dave Stevenson
On Wed, 4 Sept 2024 at 14:19, Rob Herring wrote: > > On Wed, Sep 4, 2024 at 6:18 AM Dave Stevenson > wrote: > > > > Hi Rob > > > > On Tue, 3 Sept 2024 at 20:19, Rob Herring wrote: > > > > > > On Wed, Jul 31, 2024 at 2:13 PM Rob Herring (Arm) wrote: > > > > > > > > Use of_property_present() to t

Re: [PATCH] drm: vc4: Use of_property_present()

2024-09-04 Thread Rob Herring
On Wed, Sep 4, 2024 at 6:18 AM Dave Stevenson wrote: > > Hi Rob > > On Tue, 3 Sept 2024 at 20:19, Rob Herring wrote: > > > > On Wed, Jul 31, 2024 at 2:13 PM Rob Herring (Arm) wrote: > > > > > > Use of_property_present() to test for property presence rather than > > > of_find_property(). This is

Re: [PATCH] drm: vc4: Use of_property_present()

2024-09-04 Thread Dave Stevenson
Hi Rob On Tue, 3 Sept 2024 at 20:19, Rob Herring wrote: > > On Wed, Jul 31, 2024 at 2:13 PM Rob Herring (Arm) wrote: > > > > 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

Re: [PATCH] drm: vc4: Use of_property_present()

2024-09-03 Thread Rob Herring
On Wed, Jul 31, 2024 at 2:13 PM Rob Herring (Arm) wrote: > > 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

[PATCH] drm: vc4: Use of_property_present()

2024-07-31 Thread Rob Herring (Arm)
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