diff options
author | 2021-04-23 12:18:15 +0200 | |
---|---|---|
committer | 2021-05-11 08:49:18 -0400 | |
commit | 907c5bbb514a4676160e79764522fff56ce3448e (patch) | |
tree | d8de852d1e4b4bc3cb094d4ef2df2aeb03b99b1d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | memory: stm32-fmc2-ebi: add missing of_node_put for loop iteration (diff) | |
download | wireguard-linux-907c5bbb514a4676160e79764522fff56ce3448e.tar.xz wireguard-linux-907c5bbb514a4676160e79764522fff56ce3448e.zip |
memory: atmel-ebi: add missing of_node_put for loop iteration
Early exits from for_each_available_child_of_node() should decrement the
node reference counter. Reported by Coccinelle:
drivers/memory/atmel-ebi.c:593:1-33: WARNING:
Function "for_each_available_child_of_node" should have of_node_put() before return around line 604.
Fixes: 6a4ec4cd0888 ("memory: add Atmel EBI (External Bus Interface) driver")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210423101815.119341-2-krzysztof.kozlowski@canonical.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions