> On 5 Jul 2017, at 10:09, Maxim Uvarov <[email protected]> wrote: > > Matias, > > I would change it from unsigned. That allows to reuse on variable for all > return code. > > int ret; > > re t= odp_init_global() > if (ret) .. > ret = odp_packet()... > if (ret) > ret = odp_sys_huge_page_size_all() <- here in your case we will need > additional cast to unsigned > if (ret) ... > return ret; >
OK, I'll change the return value and 'num' param to int in V2. -Matias
