[Linuxarm] [PATCH 0/3] fix return value type issue and some cleanup