[dpdk-dev] [PATCH v2] eal/linux: fix return after alarm registration failure

Stephen Hemminger stephen at networkplumber.org
Thu Jun 27 01:09:10 CEST 2019


On Wed, 26 Jun 2019 16:02:34 +0200
Thomas Monjalon <thomas at monjalon.net> wrote:

> When adding an alarm, if an error happen when registering
> the common alarm callback, it is not considered as a major failure.
> The alarm is then inserted in the list.
> However it was returning an error code after inserting the alarm.
> 
> The error code is not set anymore to be consistent with the behaviour.
> 
> Fixes: af75078fece3 ("first public release")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---
> v2: do not use variable ret

Acked-by: Stephen Hemminger <stephen at networkplumber.org>


More information about the dev mailing list