On Sat, 13 Jul 2019 at 05:48, Wen Yang <wen.yan...@zte.com.cn> wrote: > > The codec variable is still being used after the of_node_put() call, > which may result in use-after-free. > > Fixes: bc3cf17b575a ("ASoC: samsung: odroid: Add support for secondary CPU > DAI") > Signed-off-by: Wen Yang <wen.yan...@zte.com.cn> > Cc: Krzysztof Kozlowski <k...@kernel.org> > Cc: Sangbeom Kim <sbki...@samsung.com> > Cc: Sylwester Nawrocki <s.nawro...@samsung.com> > Cc: Liam Girdwood <lgirdw...@gmail.com> > Cc: Mark Brown <broo...@kernel.org> > Cc: Jaroslav Kysela <pe...@perex.cz> > Cc: Takashi Iwai <ti...@suse.com> > Cc: alsa-de...@alsa-project.org > Cc: linux-kernel@vger.kernel.org > --- > sound/soc/samsung/odroid.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-)
Reviewed-by: Krzysztof Kozlowski <k...@kernel.org> Best regards, Krzysztof