]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cygnus: fix for_each_child.cocci warnings
authorkernel test robot <lkp@intel.com>
Sun, 28 Mar 2021 14:54:45 +0000 (16:54 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 29 Mar 2021 16:27:22 +0000 (17:27 +0100)
commita56219cd2fe29c8fce9ea8b17a9c707bfdbb2b0d
treeebd03ad394d808d3e9de5da0b474533934e8d87d
parent33c73d1629ba6c11a7065a90ce64ee83ba372c4f
ASoC: cygnus: fix for_each_child.cocci warnings

Function "for_each_available_child_of_node" should have of_node_put()
before return around line 1352.

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

CC: Sumera Priyadarsini <sylphrenadin@gmail.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@inria.fr>
Link: https://lore.kernel.org/r/alpine.DEB.2.22.394.2103281651320.2854@hadrien
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/bcm/cygnus-ssp.c