[dpdk-dev] [PATCH] drivers/virtio: fix duplicate naming of include guard

Rami Rosen ramirose at gmail.com
Thu Mar 21 07:19:52 CET 2019


On Wed, Mar 20, 2019 at 3:58 PM Andrius Sirvys <andrius.sirvys at intel.com>
wrote:

> The LGTM static code analysis tool is reporting
>
> "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: jianfeng.tan at intel.com
> Signed-off-by: Andrius Sirvys <andrius.sirvys at intel.com>
> ---
>
>
Acked-by: Rami Rosen <ramirose at gmail.com>


More information about the dev mailing list