From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] kni: fix build with kernel < v3.0 Date: Wed, 21 Sep 2016 18:13:50 +0200 Message-ID: <6892076.WcRybO85TL@xps13> References: <1474042198-10701-1-git-send-email-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org To: Ferruh Yigit Return-path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id A0F1F5599 for ; Wed, 21 Sep 2016 18:13:52 +0200 (CEST) Received: by mail-wm0-f43.google.com with SMTP id l132so277169895wmf.0 for ; Wed, 21 Sep 2016 09:13:52 -0700 (PDT) In-Reply-To: <1474042198-10701-1-git-send-email-ferruh.yigit@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-09-16 17:09, Ferruh Yigit: > Compile error: > CC [M] .../build/lib/librte_eal/linuxapp/kni/igb_main.o > .../build/lib/librte_eal/linuxapp/kni/igb_main.c: > In function =E2=80=98igb_check_swap_media=E2=80=99: > .../build/lib/librte_eal/linuxapp/kni/igb_main.c:1556:7: > error: variable =E2=80=98link=E2=80=99 set but not used [-Werror=3Dun= used-but-set-variable] > bool link; > ^ >=20 > With Linux kernel >=3D v3.0 this warning disabled: > Linux: 8417da6f2128 ("kbuild: Fix passing -Wno-* options to gcc 4.4+"= ) >=20 > Signed-off-by: Ferruh Yigit Applied, thanks