summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorChris Goldsworthy <cgoldswo@codeaurora.org>2019-10-19 18:57:24 -0700
committerRob Herring <robh@kernel.org>2019-10-23 15:15:05 -0500
commit5dba51754b04a941a1064f584e7a7f607df3f9bc (patch)
tree973fade922a5eac94982b602d8a8c540aa78965b /Documentation
parente13de8fe0d6a51341671bbe384826d527afe8d44 (diff)
of: reserved_mem: add missing of_node_put() for proper ref-counting
Commit d698a388146c ("of: reserved-memory: ignore disabled memory-region nodes") added an early return in of_reserved_mem_device_init_by_idx(), but didn't call of_node_put() on a device_node whose ref-count was incremented in the call to of_parse_phandle() preceding the early exit. Fixes: d698a388146c ("of: reserved-memory: ignore disabled memory-region nodes") Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org> Cc: stable@vger.kernel.org Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions