net/virtio: fix duplicate naming of include guard
authorAndrius Sirvys <andrius.sirvys@intel.com>
Thu, 21 Mar 2019 10:09:53 +0000 (10:09 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Mar 2019 16:25:32 +0000 (17:25 +0100)
commit1708804ea977668f82a944b29399d376f8e50e9f
tree220badebe5f6fe8db25b7c1a76d325d8faecd197
parent61d4008fe6bb3e6b7fdef8a972245aec2791c45d
net/virtio: fix duplicate naming of include guard

"The macro name '_VHOST_NET_USER_H' of this include guard is used
in 2 different header files."

lib/librte_vhost/vhost_user.h has the same include guard.
Renamed the include guard in vhost.h to differentiate.

Fixes: 6a84c37e3975 ("net/virtio-user: add vhost-user adapter layer")
Cc: stable@dpdk.org
Signed-off-by: Andrius Sirvys <andrius.sirvys@intel.com>
Acked-by: Rami Rosen <ramirose@gmail.com>
Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
drivers/net/virtio/virtio_user/vhost.h