Yunjian Wang 3f01891391 eal: return errors on device event callback unregister
Fix return value, using -EAGAIN instead of 0 when the callback is busy
and using -ENOENT instead of 0 when the callback is not found.

Fixes: a753e53d517b ("eal: add device event monitor framework")

Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Acked-by: Jeff Guo <jia.guo@intel.com>
Acked-by: David Marchand <david.marchand@redhat.com>
2020-10-23 13:35:50 +02:00
..
2020-10-19 16:45:02 +02:00
2020-10-19 16:45:02 +02:00
2020-10-19 16:45:02 +02:00
2020-10-20 13:17:08 +02:00