]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-utils: Remove __exit for snd_soc_util_exit()
authorChen Zhongjin <chenzhongjin@huawei.com>
Mon, 31 Oct 2022 13:40:31 +0000 (21:40 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 7 Nov 2022 13:37:04 +0000 (13:37 +0000)
commit78c142b3835bd414fbe86f755fa56fb3eb4a69eb
treea4a727cffa5b74e42073f96fc87814ecc4a75a43
parent67b4f909df16695bd891cb418a1240bd56833b3c
ASoC: soc-utils: Remove __exit for snd_soc_util_exit()

snd_soc_util_exit() is called in __init snd_soc_init() for cleanup.
Remove the __exit annotation for it to fix the build warning:

WARNING: modpost: sound/soc/snd-soc-core.o: section mismatch in reference: init_module (section: .init.text) -> snd_soc_util_exit (section: .exit.text)

Fixes: c12322678aad ("ASoC: core: Fix use-after-free in snd_soc_exit()")
Signed-off-by: Chen Zhongjin <chenzhongjin@huawei.com>
Link: https://lore.kernel.org/r/20221031134031.256511-1-chenzhongjin@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-utils.c