linaro: fix warnings