]> git.droids-corp.org - dpdk.git/blobdiff - lib/vhost/vdpa.c
net/bnxt: fix null dereference in session cleanup
[dpdk.git] / lib / vhost / vdpa.c
index 09ad5d866e0a24af8e2c0754d758d7f5f2a2b088..8fa2153023879d51c3dae890790bb4f9986c8d42 100644 (file)
@@ -8,7 +8,6 @@
  * Device specific vhost lib
  */
 
-#include <stdbool.h>
 #include <sys/queue.h>
 
 #include <rte_class.h>
@@ -82,8 +81,8 @@ rte_vdpa_register_device(struct rte_device *rte_dev,
                        !ops->get_protocol_features || !ops->dev_conf ||
                        !ops->dev_close || !ops->set_vring_state ||
                        !ops->set_features) {
-               VHOST_LOG_CONFIG(ERR,
-                               "Some mandatory vDPA ops aren't implemented\n");
+               VHOST_LOG_CONFIG(ERR, "(%s) Some mandatory vDPA ops aren't implemented\n",
+                               rte_dev->name);
                return NULL;
        }