diff options
author | 2021-10-14 04:45:55 -0400 | |
---|---|---|
committer | 2021-12-08 14:01:16 +0100 | |
commit | bb29e4091079dd7ef5bd488bd7625965cdfd2c12 (patch) | |
tree | c4d4e6ada9e9de87b643bda9249a0220e4f9ba1d /tools/perf/scripts/python/stackcollapse.py | |
parent | Linux 5.16-rc1 (diff) | |
download | linux-dev-bb29e4091079dd7ef5bd488bd7625965cdfd2c12.tar.xz linux-dev-bb29e4091079dd7ef5bd488bd7625965cdfd2c12.zip |
ARM: at91: pm: Add of_node_put() before goto
Fix following coccicheck warning:
./arch/arm/mach-at91/pm.c:643:1-33: WARNING: Function
for_each_matching_node_and_match should have of_node_put() before goto
Early exits from for_each_matching_node_and_match should decrement the
node reference counter.
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20211014084555.21422-1-wanjiabing@vivo.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions