linux/Documentation/devicetree
Jan Kiszka 83ef4777f5 of: overlay: Stop leaking resources on overlay removal
Only the overlay notifier callbacks have a chance to potentially get
hold of references to those two resources, but they are not supposed to
store them beyond OF_OVERLAY_POST_REMOVE.

Document the overlay notifier API, its constraint regarding pointer
lifetime, and then remove intentional leaks of ovcs->overlay_tree and
ovcs->fdt from free_overlay_changeset.

See also https://lkml.org/lkml/2018/4/23/1063 and following.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Frank Rowand <frowand.list@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
2018-04-26 21:18:13 -05:00
..
bindings dt-bindings: dmaengine: rcar-dmac: document R8A77965 support 2018-04-16 10:26:02 -05:00
00-INDEX
booting-without-of.txt dt: booting-without-of: DT fix s/#interrupt-cell/#interrupt-cells/ 2018-01-22 05:48:34 +11:00
changesets.txt
dynamic-resolution-notes.txt
of_unittest.txt
overlay-notes.txt of: overlay: Stop leaking resources on overlay removal 2018-04-26 21:18:13 -05:00
todo.txt
usage-model.txt of: update ePAPR references to point to Devicetree Specification 2017-06-22 11:22:06 -05:00