git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/virtio-user: fix inconsistent name
[dpdk.git]
/
drivers
/
net
/
virtio
/
virtio_user_ethdev.c
diff --git
a/drivers/net/virtio/virtio_user_ethdev.c
b/drivers/net/virtio/virtio_user_ethdev.c
index
6b4f66e
..
daef09b
100644
(file)
--- a/
drivers/net/virtio/virtio_user_ethdev.c
+++ b/
drivers/net/virtio/virtio_user_ethdev.c
@@
-331,7
+331,7
@@
virtio_user_pmd_devinit(const char *name, const char *params)
int ret = -1;
if (!params || params[0] == '\0') {
int ret = -1;
if (!params || params[0] == '\0') {
- PMD_INIT_LOG(ERR, "arg %s is mandatory for virtio
-
user",
+ PMD_INIT_LOG(ERR, "arg %s is mandatory for virtio
_
user",
VIRTIO_USER_ARG_QUEUE_SIZE);
goto end;
}
VIRTIO_USER_ARG_QUEUE_SIZE);
goto end;
}
@@
-351,7
+351,7
@@
virtio_user_pmd_devinit(const char *name, const char *params)
goto end;
}
} else {
goto end;
}
} else {
- PMD_INIT_LOG(ERR, "arg %s is mandatory for virtio
-
user\n",
+ PMD_INIT_LOG(ERR, "arg %s is mandatory for virtio
_
user\n",
VIRTIO_USER_ARG_QUEUE_SIZE);
goto end;
}
VIRTIO_USER_ARG_QUEUE_SIZE);
goto end;
}
@@
-405,7
+405,7
@@
virtio_user_pmd_devinit(const char *name, const char *params)
eth_dev = virtio_user_eth_dev_alloc(name);
if (!eth_dev) {
eth_dev = virtio_user_eth_dev_alloc(name);
if (!eth_dev) {
- PMD_INIT_LOG(ERR, "virtio
-
user fails to alloc device");
+ PMD_INIT_LOG(ERR, "virtio
_
user fails to alloc device");
goto end;
}
goto end;
}