]> 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)
commit0c8e55836d40e73f5fe570f1f867c39c80dfe591
treeebd03ad394d808d3e9de5da0b474533934e8d87d
parent0dedca2e4fd4254fd4fcbddc9cfef2cf604c6e44
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