[dpdk-dev] net/virtio: fix the wrong comment

Message ID 1498191285-32179-1-git-send-email-wang.yong19@zte.com.cn (mailing list archive)
State Accepted, archived
Delegated to: Yuanhan Liu
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Yong Wang June 23, 2017, 4:14 a.m. UTC
  Since "rte_eal_dev_init()" has been removed, the comment referred to
it should be modified simultaneously.

Signed-off-by: Yong Wang <wang.yong19@zte.com.cn>
---
 drivers/net/virtio/virtio_user_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Yuanhan Liu July 4, 2017, 9:26 a.m. UTC | #1
On Fri, Jun 23, 2017 at 12:14:45AM -0400, Yong Wang wrote:
> Since "rte_eal_dev_init()" has been removed, the comment referred to
> it should be modified simultaneously.
> 
> Signed-off-by: Yong Wang <wang.yong19@zte.com.cn>

Applied to dpdk-next-virtio. Thanks.

	--yliu
  

Patch

diff --git a/drivers/net/virtio/virtio_user_ethdev.c b/drivers/net/virtio/virtio_user_ethdev.c
index 280406c..bcf2a9a 100644
--- a/drivers/net/virtio/virtio_user_ethdev.c
+++ b/drivers/net/virtio/virtio_user_ethdev.c
@@ -388,7 +388,7 @@ 
 }
 
 /* Dev initialization routine. Invoked once for each virtio vdev at
- * EAL init time, see rte_eal_dev_init().
+ * EAL init time, see rte_bus_probe().
  * Returns 0 on success.
  */
 static int