From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 1BA2D5320 for ; Mon, 27 Jun 2016 12:18:33 +0200 (CEST) Received: by mail-wm0-f42.google.com with SMTP id f126so93884276wma.1 for ; Mon, 27 Jun 2016 03:18:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=2w9+DDnca5KfNseAoh2sCvUXiUmEczYH9ATCUhEpEK0=; b=If0FEyfb+xq0vhHhsnvWL+5gRiaum8y0HbVuTIbIfEghAMQwqdoT1l62M8JWBPXchW hYGdU/9AAbR4T5tc8y4YMD5byJS0DNhKmop7N+gsnzEDNkURbnwIZfH4UUOQ3qLxaNps 6rxnE0fJ++gOWpAjMBtaqYIY2ownoqHdUjtAqldfb6AJcBkZ5jMqKLh0CR0bzC7rmZEW xCz3ntytfz6EbgQeT+XRQybd5GBUyBTH1Tbv0hXt+053I+2BmnqgNWuMhbkbVsWbwTvl BYJBjQEZnN/sRgxkAUDH5nzdRx8qOxBZdBcEIxk2xkMSzb34Q+pImPfn19Yxe2as7UKL 3+wg== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=2w9+DDnca5KfNseAoh2sCvUXiUmEczYH9ATCUhEpEK0=; b=E2ctMNECa/rggw25Ybc35VVvQ539rOwPMHyTc4VCnj7cVSN/ppiVjYOpcr28XCdn0L UbtPHYSjvcKI21OoMq7KBMc61DanH6WRRAMMOdrH4OxppVmEIFpaRoqI7lEDfahagONm HWSFmuFlWmfpNO7chkQA9cFgySNzv4Mf2e5Bl5nCy8NUEf483srw2cfBYomNlvsQyawk diw84aI/pVNuF0Z3R+O8cuXHO/aDCiU9tONXzHE0GeAJeyVoNXgaby+cDeqU2TuZjOsV mokO4s+fb3cnwJwFyRqZVVRURmOl6mBr7o6LQaElAXLcDOu1/QVFasrM3gLkM2XKWSJJ qoqw== X-Gm-Message-State: ALyK8tLJbdlk8lDEeiNO8l1ORNMmpGoexiEgvfKhjzLdBGuVVBzu1o8sDhFI+lkee6kqfwbt X-Received: by 10.28.63.136 with SMTP id m130mr9598188wma.33.1467022712853; Mon, 27 Jun 2016 03:18:32 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id b200sm4979540wmb.9.2016.06.27.03.18.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Jun 2016 03:18:32 -0700 (PDT) From: Thomas Monjalon To: Pablo de Lara Cc: dev@dpdk.org, Ferruh Yigit , helin.zhang@intel.com Date: Mon, 27 Jun 2016 12:18:31 +0200 Message-ID: <1896089.0ArySN1CbE@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <576CEF12.4040203@intel.com> References: <1466692704-2811-1-git-send-email-pablo.de.lara.guarch@intel.com> <576CEF12.4040203@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: Re: [dpdk-dev] [PATCH] kni: fix compilation with gcc 6.1 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: Mon, 27 Jun 2016 10:18:33 -0000 2016-06-24 09:28, Ferruh Yigit: > On 6/23/2016 3:38 PM, Pablo de Lara wrote: > > Using gcc 6.1, in some cases, kni fails to compile > > because of unused variables: > >=20 > > build/lib/librte_eal/linuxapp/kni/ixgbe_main.c:82:19: > > error: =E2=80=98ixgbe_copyright=E2=80=99 > > defined but not used [-Werror=3Dunused-const-variable=3D] > > static const char ixgbe_copyright[] =3D > > ^~~~~~~~~~~~~~~ > >=20 > > build/lib/librte_eal/linuxapp/kni/ixgbe_main.c:62:19: > > error: =E2=80=98ixgbe_driver_string=E2=80=99 > > defined but not used [-Werror=3Dunused-const-variable=3D] > > static const char ixgbe_driver_string[] =3D > >=20 > > Fixes: 3fc5ca2f6352 ("kni: initial import") > >=20 > > Signed-off-by: Pablo de Lara >=20 > Acked-by: Ferruh Yigit Applied, thanks