misc: Fix more Linaro errors and warnings