aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/backlight
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2018-04-26 13:00:30 +0200
committerRob Herring <robh@kernel.org>2018-04-26 21:18:13 -0500
commit83ef4777f5ff3689e6e52d3913a13d79aa25f1b5 (patch)
tree59e9979916a0d2c16f9b90cb8147e63250215a18 /Documentation/backlight
parentdtc: checks: drop warning for missing PCI bridge bus-range (diff)
downloadlinux-dev-83ef4777f5ff3689e6e52d3913a13d79aa25f1b5.tar.xz
linux-dev-83ef4777f5ff3689e6e52d3913a13d79aa25f1b5.zip
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>
Diffstat (limited to 'Documentation/backlight')
0 files changed, 0 insertions, 0 deletions