Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix wrong comparison in uiomux_phys_to_virt()
uio_map_phys_to_virt() returns a void pointer value or NULL, not unsigned long value -1. This patch fixes checking return value of uio_map_phys_to_virt() in uiomux_phys_to_virt().
- Loading branch information