Re: [PATCH] net: dsa: rtl8366rb: add missing of_node_put after calling of_get_child_by_name

2019-10-16 Thread Wen Yang
On 2019/10/2 1:03 上午, David Miller wrote: From: Wen Yang Date: Sun, 29 Sep 2019 15:00:47 +0800 of_node_put needs to be called when the device node which is got from of_get_child_by_name finished using. irq_domain_add_linear() also calls of_node_get() to increase refcount, so irq_domain will

Re: [PATCH] net: dsa: rtl8366rb: add missing of_node_put after calling of_get_child_by_name

2019-10-01 Thread David Miller
From: Wen Yang Date: Sun, 29 Sep 2019 15:00:47 +0800 > of_node_put needs to be called when the device node which is got > from of_get_child_by_name finished using. > irq_domain_add_linear() also calls of_node_get() to increase refcount, > so irq_domain will not be affected when it is released. >

Re: [PATCH] net: dsa: rtl8366rb: add missing of_node_put after calling of_get_child_by_name

2019-09-30 Thread Linus Walleij
On Sun, Sep 29, 2019 at 9:01 AM Wen Yang wrote: It's nice to see some Alibaba kernel contributions! > of_node_put needs to be called when the device node which is got > from of_get_child_by_name finished using. > irq_domain_add_linear() also calls of_node_get() to increase refcount, > so

[PATCH] net: dsa: rtl8366rb: add missing of_node_put after calling of_get_child_by_name

2019-09-29 Thread Wen Yang
of_node_put needs to be called when the device node which is got from of_get_child_by_name finished using. irq_domain_add_linear() also calls of_node_get() to increase refcount, so irq_domain will not be affected when it is released. fixes: d8652956cf37 ("net: dsa: realtek-smi: Add Realtek SMI