[fix] Return types errors
Merge branch 'driver2-deadlocks' of github.com:UrLab/hal into driver2-deadlocks