eal: do not panic on shared memory init
authorArnon Warshavsky <arnon@qwilt.com>
Mon, 10 Jun 2019 07:08:29 +0000 (10:08 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 26 Jun 2019 14:50:33 +0000 (16:50 +0200)
commit4e8854ae89fa699f0fd81387c3094c745f90781a
treef50ef756e881a21c2a0c0af15e4dca23c518d34d
parent28188cee2aa0b72d401d3e56942d0db9c7b9e654
eal: do not panic on shared memory init

This patch changes some void functions to return a value,
so that the init sequence may tear down orderly
instead of calling panic.

Signed-off-by: Arnon Warshavsky <arnon@qwilt.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
lib/librte_eal/freebsd/eal/eal.c
lib/librte_eal/linux/eal/eal.c