diff options
author | Chen Zhongjin <chenzhongjin@huawei.com> | 2022-10-31 21:40:31 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-11-07 13:37:04 +0000 |
commit | 314d34fe7f0a5836cb0472950c1f17744b4efde8 (patch) | |
tree | a4a727cffa5b74e42073f96fc87814ecc4a75a43 /scripts/generate_rust_target.rs | |
parent | a1dca8774faf3f77eb34fa0ac6f3e2b82290b1e4 (diff) |
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: 6ec27c53886c ("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>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions