[PATCH net-next v6 03/12] selftests: ncdevmem: Unify error handling