aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2021-10-18 19:44:16 +0000
committerMark Brown <[email protected]>2021-10-29 17:55:25 +0000
commit173632358fde7a567f28e07c4549b959ee857986 (patch)
treef7c770e4f69ceaaa4be8368bdb169ea7585da1bb /lib/string_helpers.c
parentASoC: tlv320aic3x: Make aic3x_remove() return void (diff)
downloadkernel-173632358fde7a567f28e07c4549b959ee857986.tar.gz
kernel-173632358fde7a567f28e07c4549b959ee857986.zip
ASoC: rsnd: Fix an error handling path in 'rsnd_node_count()'
If we return before the end of the 'for_each_child_of_node()' iterator, the reference taken on 'np' must be released. Add the missing 'of_node_put()' call. Fixes: c413983eb66a ("ASoC: rsnd: adjust disabled module") Signed-off-by: Christophe JAILLET <[email protected]> Reviewed-by: Kuninori Morimoto <[email protected]> Link: https://lore.kernel.org/r/4c0e893cbfa21dc76c1ede0b6f4f8cff42209299.1634586167.git.christophe.jaillet@wanadoo.fr Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions