]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/kexec: fix for_each_child.cocci warning
authorkernel test robot <lkp@intel.com>
Tue, 3 Aug 2021 14:59:55 +0000 (16:59 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 10 Aug 2021 13:14:55 +0000 (23:14 +1000)
commit0ff93ae36439721d0093d79abd0833ebc4191ef3
tree0e81b28b89ae2434b1fea783d775aa6fa212b2e4
parentec95f6616bcc6793e99ba1c08fba0fe4997b9f64
powerpc/kexec: fix for_each_child.cocci warning

for_each_node_by_type should have of_node_put() before return.

Generated by: scripts/coccinelle/iterators/for_each_child.cocci

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/alpine.DEB.2.22.394.2108031654080.17639@hadrien
arch/powerpc/kexec/core_64.c