From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rami Rosen Subject: Re: [PATCH] drivers/virtio: fix duplicate naming of include guard Date: Thu, 21 Mar 2019 08:19:52 +0200 Message-ID: References: <1553090259-30893-1-git-send-email-andrius.sirvys@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: dev , Maxime Coquelin , Tiwei Bie , Zhihong Wang , stable@dpdk.org, jianfeng.tan@intel.com To: Andrius Sirvys Return-path: In-Reply-To: <1553090259-30893-1-git-send-email-andrius.sirvys@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 in vhost.h to differentiate. > > Fixes: 6a84c37e3975 ("net/virtio-user: add vhost-user adapter layer") > Cc: jianfeng.tan@intel.com > Signed-off-by: Andrius Sirvys > --- > > Acked-by: Rami Rosen