From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by dpdk.org (Postfix) with ESMTP id 1CCE6967 for ; Sat, 28 Feb 2015 00:14:29 +0100 (CET) Received: by widem10 with SMTP id em10so3561931wid.5 for ; Fri, 27 Feb 2015 15:14:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=wpQk7byBjYzXAfKqVMzLBYHtADKxCxxDbCROuhY0pfE=; b=SKF4pqzJn4rXgnqFjj84dc+EvfC2WRu/7bTE5U0IlS6tSEpndYzBOoEIzaV5eG4cba SqLEMngyCQQHu2+29MeLBECbBv9E+9xNg0BFLCSXrSMpW8gWbzuVr9G62pdH1YxASF9E i7043E/0NqLh7aD5JwfPZ+1fQ9fUaaKtJbGBGpkpwrINk4c2Ji6vAdc2Li0Hp/Sp87p9 it0K+XW99cUAUqZJ6+x8AESmx5PZo+dj3QT0d2QuDD/upbtyCZModdnQRQsj5ABobA9G 4Qp3Bs47caoQVTDStBSwgpP8La1nB6YUthNwkawMaJPeVog/IggVz8DdMr0+YUeYHR0z iY6w== X-Gm-Message-State: ALoCoQm1r//A3FolqY8EuNSkxHbxBPpVH0qtcrhPg/k3XoFz7sfiJDHMNPom8y88fB8QHWRWwVB+ X-Received: by 10.180.87.165 with SMTP id az5mr11197296wib.29.1425078868907; Fri, 27 Feb 2015 15:14:28 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id cf12sm7932617wjb.10.2015.02.27.15.14.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Feb 2015 15:14:27 -0800 (PST) From: Thomas Monjalon To: "Ouyang, Changchun" Date: Sat, 28 Feb 2015 00:13:49 +0100 Message-ID: <8534036.xE346itss2@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: References: <1425004210-4044-1-git-send-email-changchun.ouyang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] virtio: Fix compilation issue on freebsd X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2015 23:14:29 -0000 > > 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