hal: Clean up compilation warnings

Change-Id: I2aaf643c2e626049cfbd58e2d7d610370d860567
3 files changed