Skip to content

Add of_node_put to avoid memory leak

Julia Lawall kernel-janitors linux-devicetree linux-mtd linuxppc-dev lkml 1 version Applied

Status from this message: Pushed to l2-mtd-2.6.git / master, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 14 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7drivers/macintosh/via-pmu-led.c: Add of_node_put to avoid memory leakdrivers/macintosh/via-pmu-led.c+3 -16 replies
2/7drivers/serial/mpc52xx_uart.c: Add of_node_put to avoid memory leakdrivers/serial/mpc52xx_uart.c+1 -01 reply
3/7drivers/mtd/nand/mpc5121_nfc.c: Add of_node_put to avoid memory leakdrivers/mtd/nand/mpc5121_nfc.c+5 -22 replies
4/7arch/powerpc/platforms/powermac/pfunc_core.c: Add of_node_put to avoid memory leakarch/powerpc/platforms/powermac/pfunc_core.c+6 -31 reply
5/7arch/powerpc/sysdev/qe_lib/qe.c: Add of_node_put to avoid memory leakarch/powerpc/sysdev/qe_lib/qe.c+1 -02 replies
6/7arch/powerpc/platforms/maple/setup.c: Add of_node_put to avoid memory leakarch/powerpc/platforms/maple/setup.c+1 -01 reply
7/7arch/powerpc/platforms/cell: Add of_node_put to avoid memory leakarch/powerpc/platforms/cell/ras.c arch/powerpc/platforms/cell/spider-pic.c+6 -21 reply

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchWolfram SangTimur TabiGrant Likely
1/7
2/7A-b
3/7A-b
4/7A-b
5/7A-b
6/7A-b
7/7A-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.

Read the v1 thread

Cover letter [PATCH 0/7] Add of_node_put to avoid memory leak

These patches introduce calls to of_node_put after various functions that call of_node_get.