From: Thomas Monjalon <thomas@monjalon.net>
To: Ferruh Yigit <ferruh.yigit@intel.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] kni: fix build with kernel 4.15
Date: Fri, 15 Dec 2017 15:06:15 +0100 [thread overview]
Message-ID: <1770056.HVzzuBrX1G@xps> (raw)
In-Reply-To: <20171128234553.93346-1-ferruh.yigit@intel.com>
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 ‘setup_timer’;
> did you mean ‘sk_stop_timer’? [-Werror=implicit-function-declaration]
> setup_timer(&adapter->watchdog_timer, &igb_watchdog,
> ^~~~~~~~~~~
> sk_stop_timer
> cc1: all warnings being treated as errors
>
> error observed whed CONFIG_RTE_KNI_KMOD_ETHTOOL config option enabled.
>
> Because Linux removed setup_timer macros for kernel version >= 4.15
> Linux: 513ae785c63c ("timer: Remove setup_*timer() interface")
>
> Replaced setup_timer with timer_setup for new kernel versions.
>
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Applied, thanks
prev parent reply other threads:[~2017-12-15 14:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-28 23:45 Ferruh Yigit
2017-12-15 14:06 ` Thomas Monjalon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1770056.HVzzuBrX1G@xps \
--to=thomas@monjalon.net \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).