Re: [PATCH] of: reserved_mem: add missing of_node_put() for proper ref-counting

2019-10-20 Thread cgoldswo
Hi Bjorn, On 2019-10-20 19:06, Bjorn Andersson wrote: Cc stable@ is used to assist in making sure your patch is backported to stable kernels, other than that the purpose Cc here is to indicate that specific people have been requested to comment on your patch. So please skip these from the

Re: [PATCH] of: reserved_mem: add missing of_node_put() for proper ref-counting

2019-10-20 Thread Bjorn Andersson
On Sat 19 Oct 18:57 PDT 2019, Chris Goldsworthy wrote: > Commit d698a388146c ("of: reserved-memory: ignore disabled memory-region > nodes") added an early return in of_reserved_mem_device_init_by_idx(), but > didn't call of_node_put() on a device_node whose ref-count was incremented > in the call

[PATCH] of: reserved_mem: add missing of_node_put() for proper ref-counting

2019-10-19 Thread Chris Goldsworthy
Commit d698a388146c ("of: reserved-memory: ignore disabled memory-region nodes") added an early return in of_reserved_mem_device_init_by_idx(), but didn't call of_node_put() on a device_node whose ref-count was incremented in the call to of_parse_phandle() preceding the early exit. Fixes:

[PATCH] of: reserved_mem: add missing of_node_put() for proper ref-counting

2019-09-26 Thread Chris Goldsworthy
Commit d698a388146c ("of: reserved-memory: ignore disabled memory-region nodes") added an early return in of_reserved_mem_device_init_by_idx(), but didn't call of_node_put() on a device_node whose ref-count was incremented in the call to of_parse_phandle() preceding the early exit. Fixes: