fix minor errors and warnings

Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
3 files changed