From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] virtio: Fix compilation issue on freebsd Date: Sat, 28 Feb 2015 00:13:49 +0100 Message-ID: <8534036.xE346itss2@xps13> References: <1425004210-4044-1-git-send-email-changchun.ouyang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: "Ouyang, Changchun" Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" > > This patch fixes the compilation issue on freebsd: > > > > /root/qwan/tmp/dpdk_org/lib/librte_pmd_virtio/virtio_ethdev.c: In function > > 'virtio_resource_init': > > /root/qwan/tmp/dpdk_org/lib/librte_pmd_virtio/virtio_ethdev.c:1071:56: error: > > unused parameter 'pci_dev' [-Werror=unused-parameter] static int > > virtio_resource_init(struct rte_pci_device *pci_dev) > > ^ > > cc1: all warnings being treated as errors > > > > Signed-off-by: Changchun Ouyang > > Acked-by: Cunming Liang Applied, thanks