Thread (19 messages) 19 messages, 4 authors, 2016-08-02

Re: [PATCH v2 00/15] add missing of_node_put after calling of_parse_phandle

flat view

From: David Miller <davem@davemloft.net>
Date: 2016-08-02 05:26:04

From: Peter Chen <redacted>
Date: Mon, 1 Aug 2016 15:02:28 +0800
This patch set fixes missing of_node_put issue at ethernet driver.
of_node_put needs to be called when the device node which is got
from of_parse_phandle has finished using.

The compilation test has passed by using allmodconfig for drivers/net/ethernet.

Thanks.

Changes for v2:
- If the device node is local variable, it can be put in the same function.
- If the device node will be used the whole driver life cycle,
  it should be put (call of_node_put) at driver's remove. 
  Patch [4, 5, 9, 14, 15/15]
- Fix the issue that the node still be used at error patch [6/15]
- Add acked for patch [11,12/15]
Series applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help