[dpdk-dev] [PATCH] ipc: replace bool checks with explicit non-zero

Burakov, Anatoly anatoly.burakov at intel.com
Fri May 3 17:52:10 CEST 2019


On 03-May-19 4:35 PM, Thomas Monjalon wrote:
> The function check_input() was returning a bool as error code.
> It is changed to return an int, semantically more correct.
> While at it, make checks of validate_action_name() return
> explicit as described in the coding guidelines.
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---

Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>

-- 
Thanks,
Anatoly


More information about the dev mailing list