arm: add missing error reporting