From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] kni: fix build with kernel 4.15 Date: Fri, 15 Dec 2017 15:06:15 +0100 Message-ID: <1770056.HVzzuBrX1G@xps> References: <20171128234553.93346-1-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 out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id C43E3237 for ; Fri, 15 Dec 2017 15:06:16 +0100 (CET) In-Reply-To: <20171128234553.93346-1-ferruh.yigit@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" 29/11/2017 00:45, Ferruh Yigit: > build error: > .../dpdk/build/build/lib/librte_eal/linuxapp/kni/igb_main.c:2809:2: > error: implicit declaration of function =E2=80=98setup_timer=E2=80=99; > did you mean =E2=80=98sk_stop_timer=E2=80=99? [-Werror=3Dimplicit-functi= on-declaration] > setup_timer(&adapter->watchdog_timer, &igb_watchdog, > ^~~~~~~~~~~ > sk_stop_timer > cc1: all warnings being treated as errors >=20 > error observed whed CONFIG_RTE_KNI_KMOD_ETHTOOL config option enabled. >=20 > Because Linux removed setup_timer macros for kernel version >=3D 4.15 > Linux: 513ae785c63c ("timer: Remove setup_*timer() interface") >=20 > Replaced setup_timer with timer_setup for new kernel versions. >=20 > Signed-off-by: Ferruh Yigit Applied, thanks