diff options
| author | Nicholas Mc Guire <hofrat@osadl.org> | 2019-04-13 10:14:21 +0300 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2019-07-23 10:49:32 +0300 |
| commit | dbc3c6295195267ea7bc48d46030c7b244f8b11e (patch) | |
| tree | 19139f498d297c8c7b03619cac0d0e7a4f4d6483 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 7a8689df21f425e77207b4245b0b89d3185866e7 (diff) | |
| download | linux-dbc3c6295195267ea7bc48d46030c7b244f8b11e.tar.xz | |
ARM: ux500: add missing of_node_put()
of_find_compatible_node() returns a pointer with refcount incremented
so both in the error path as well as after usage in soc_info_populate()
respectively actually b8500_read_soc_id() an explicit of_node_put is
needed to release backupram.
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Fixes: commit 18a992787896 ("ARM: ux500: move soc_id driver to drivers/soc")
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
