[0/1] ethdev: change owner delete function return value to int

Message ID 1568106137-22974-1-git-send-email-arybchenko@solarflare.com
Headers show
Series
  • ethdev: change owner delete function return value to int
Related show

Message

Andrew Rybchenko Sept. 10, 2019, 9:02 a.m.
It is the seventh patch series to get rid of void returning functions
in ethdev in accordance with deprecation notice [1].

It should be applied on top of [2], [3], [4], [5], [6] and [7].
It can be applied separately with simple merge coflicts resolved
in documentation.

Functions which return void are bad since they do not provide explicit
information to the caller if everything is OK or not.

[1] https://patches.dpdk.org/patch/56969/
[2] https://patches.dpdk.org/project/dpdk/list/?series=6279
[3] https://patches.dpdk.org/project/dpdk/list/?series=6334
[4] https://patches.dpdk.org/project/dpdk/list/?series=6335
[5] https://patches.dpdk.org/project/dpdk/list/?series=6308
[6] https://patches.dpdk.org/project/dpdk/list/?series=6350
[7] https://patches.dpdk.org/project/dpdk/list/?series=6355

Igor Romanov (1):
  ethdev: change owner delete function return value to int

 doc/guides/rel_notes/deprecation.rst   | 1 -
 doc/guides/rel_notes/release_19_11.rst | 3 +++
 drivers/net/netvsc/hn_ethdev.c         | 5 ++++-
 lib/librte_ethdev/rte_ethdev.c         | 6 +++++-
 lib/librte_ethdev/rte_ethdev.h         | 4 +++-
 5 files changed, 15 insertions(+), 4 deletions(-)