Closed axel-h closed 2 years ago
The function vspace_map_io() is only used when CONFIG_IOMMU is defined, thus the clang build warning "control reaches end of non-void function [-Wreturn-type]" can be avoided easily when this function only exists when it is needed.
vspace_map_io()
CONFIG_IOMMU
The function
vspace_map_io()
is only used whenCONFIG_IOMMU
is defined, thus the clang build warning "control reaches end of non-void function [-Wreturn-type]" can be avoided easily when this function only exists when it is needed.