app/bbdev: fix unchecked return value
authorAmr Mokhtar <amr.mokhtar@intel.com>
Wed, 31 Jan 2018 13:54:28 +0000 (13:54 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 31 Jan 2018 17:48:49 +0000 (18:48 +0100)
commitd3345d4070e577bb369f38c53d00db7d1968b5c9
tree3b43fe3a086cd24168754b66d3765e4899fa4096
parent218203502cde5779a0e1fe2ba60d514823176840
app/bbdev: fix unchecked return value

add check for rte_bbdev_callback_register() retun

Coverity issue: 257027
Fixes: f714a18885a6 ("app/testbbdev: add test application for bbdev")

Signed-off-by: Amr Mokhtar <amr.mokhtar@intel.com>
app/test-bbdev/test_bbdev_perf.c