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

2019-06-26 Thread Stephen Hemminger
On Wed, 26 Jun 2019 16:02:34 +0200 Thomas Monjalon 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.

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

2019-06-26 Thread Thomas Monjalon
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 behavi