Re: [PATCH] drm/vc4: remove all usages of of_node_put()

2024-07-13 Thread Amer Al Shanawany
On 18/06/2024 13.54, Amer Al Shanawany wrote: On 5/22/24 16:48, Amer Al Shanawany wrote: On 27/04/2024 15.40, Amer Al Shanawany wrote: Use the scope-based cleanup feature to clean up 'struct device_node *' when they go out of scope, and remove all instances of of_node_put() withi

Re: [PATCH] drm/vc4: remove all usages of of_node_put()

2024-06-18 Thread Amer Al Shanawany
On 5/22/24 16:48, Amer Al Shanawany wrote: > On 27/04/2024 15.40, Amer Al Shanawany wrote: >> Use the scope-based cleanup feature to clean up 'struct device_node *' >> when they go out of scope, and remove all instances of of_node_put() >> within the same scope, to s

Re: [PATCH] drm/vc4: remove all usages of of_node_put()

2024-05-22 Thread Amer Al Shanawany
On 27/04/2024 15.40, Amer Al Shanawany wrote: Use the scope-based cleanup feature to clean up 'struct device_node *' when they go out of scope, and remove all instances of of_node_put() within the same scope, to simplify function exit and avoid potential memory leaks. Suggested-by: Ju

[PATCH] drm/vc4: remove all usages of of_node_put()

2024-04-28 Thread Amer Al Shanawany
Use the scope-based cleanup feature to clean up 'struct device_node *' when they go out of scope, and remove all instances of of_node_put() within the same scope, to simplify function exit and avoid potential memory leaks. Suggested-by: Julia Lawall Signed-off-by: Amer Al Shanawany --