mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
WARNING: modpost: /home/mbhardwaj/kernel_only/out/ embedded-linux-generic-release/nvidia/kernel-rt_patches-nvidia-oot/ nvidia-oot/drivers/virt/tegra/tegra_hv.o (.exit.text+0x34): Section mismatch in reference from the function cleanup_module() to the function .init.text:tegra_hv_cleanup() The function __exit cleanup_module() references a function __init tegra_hv_cleanup(). This is often seen when error handling in the exit function uses functionality in the init path. The fix is often to remove the __init annotation of tegra_hv_cleanup() so it may be used outside an init section. Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com> Change-Id: Ie3fb2875c0acc732d5673e7618593e67e412851f Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2784195 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>