linaro: fix compiler warnings