add missing of_node_put after calling of_parse_phandle
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest15 patches 3 repliesIn review
- v115 patches 15 repliesSuperseded
Changes in v2 from the cover letter
- 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]
Patches in v2 No applies recorded yet
Reviews trailers per patch
4 of 15 patches have a Reviewed-by or Acked-by.
| Patch | Sergei Shtylyov | Alexandre Torgue | Mugunthan V N |
|---|---|---|---|
| 1/15 | |||
| 2/15 | |||
| 3/15 | |||
| 4/15 | |||
| 5/15 | |||
| 6/15 | |||
| 7/15 | |||
| 8/15 | |||
| 9/15 | |||
| 10/15 | |||
| 11/15 | A-b | ||
| 12/15 | A-b | ||
| 13/15 | |||
| 14/15 | A-b | ||
| 15/15 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 00/15] add missing of_node_put after calling of_parse_phandle
Hi David,
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]
Peter Chen (15):
ethernet: altera: add missing of_node_put
ethernet: apm: xgene: add missing of_node_put after calling
of_parse_phandle
ethernet: arc: emac_main: add missing of_node_put after calling
of_parse_phandle
ethernet: aurora: nb8800: add missing of_node_put after calling
of_parse_phandle
ethernet: cavium: octeon: add missing of_node_put after calling
of_parse_phandle
ethernet: hisilicon: hns: hns_dsaf_mac: add missing of_node_put after
calling of_parse_phandle
ethernet: hisilicon: hns: hns_dsaf_main: add missing of_node_put after
calling of_parse_phandle
ethernet: marvell: mvneta: add missing of_node_put after calling
of_parse_phandle
ethernet: marvell: mvpp2: add missing of_node_put after calling
of_parse_phandle
ethernet: marvell: pxa168_eth: add missing of_node_put after calling
of_parse_phandle
ethernet: renesas: ravb_main: add missing of_node_put after calling
of_parse_phandle
ethernet: renesas: sh_eth: add missing of_node_put after calling
of_parse_phandle
ethernet: stmicro: stmmac: dwmac-socfpga: add missing of_node_put
after calling of_parse_phandle
ethernet: stmicro: stmmac: add missing of_node_put after calling
of_parse_phandle
ethernet: ti: davinci_emac: add missing of_node_put after calling
of_parse_phandle
drivers/net/ethernet/altera/altera_tse_main.c | 1 + drivers/net/ethernet/apm/xgene/xgene_enet_hw.c | 1 + drivers/net/ethernet/arc/emac_main.c | 15 ++++++--- drivers/net/ethernet/aurora/nb8800.c | 2 ++ drivers/net/ethernet/cavium/octeon/octeon_mgmt.c | 3 ++ drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c | 9 ++++-- drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 7 +++-- drivers/net/ethernet/marvell/mvneta.c | 1 + drivers/net/ethernet/marvell/mvpp2.c | 2 ++ drivers/net/ethernet/marvell/pxa168_eth.c | 1 + drivers/net/ethernet/renesas/ravb_main.c | 1 + drivers/net/ethernet/renesas/sh_eth.c | 1 + .../net/ethernet/stmicro/stmmac/dwmac-socfpga.c | 36 ++++++++++++++++------ drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 1 + .../net/ethernet/stmicro/stmmac/stmmac_platform.c | 7 +++-- drivers/net/ethernet/ti/davinci_emac.c | 1 + 16 files changed, 67 insertions(+), 22 deletions(-)
Signature · 1 line
1.9.1