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

2019-03-21 Thread Maxime Coquelin
On 3/21/19 8:59 AM, Tiwei Bie wrote: On Wed, Mar 20, 2019 at 01:57:39PM +, Andrius Sirvys 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 inc

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

2019-03-21 Thread Tiwei Bie
On Wed, Mar 20, 2019 at 01:57:39PM +, Andrius Sirvys 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 inclu

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

2019-03-20 Thread Rami Rosen
On Wed, Mar 20, 2019 at 3:58 PM Andrius Sirvys 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 i

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

2019-03-20 Thread Andrius Sirvys
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: