From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id CFB8FD41C for ; Thu, 30 Mar 2017 16:44:49 +0200 (CEST) Received: by mail-wm0-f51.google.com with SMTP id x124so20057546wmf.0 for ; Thu, 30 Mar 2017 07:44:49 -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=hVjq4Q6aJYFUaPzl4Xob3Tqdmvf0cgXSHApZFBvN1k8=; b=O1zta6ehB1zx3H/LAgIrx39kFwuNgLOP5qvfikysPUHKfboUZdLCOMootb5SftmbIO PGMrca2sYBi4s3xEW/c1WAdB+m613klgZMsmcvgJKqI5NfXA4eSp+nqJ1mICagJjn33Y ylttHR0hy80kHmbE9phJvishEMkeypx71za+P9pia8CU2gHj44/OG2OL+HsdL/4VAIgk z6QA9cAtWYE6sYGfQ1Le21/ZxxedOLeTNrSMPBKnDZrL1zOd7yCIAsBWvMHWO40z5mcZ eGRN570iDsq53qEn9+w5BGefc1lPWDh7jLZU+zrFDVCnJ4lfIg/wUVAqtOdqIrEtgApJ oMTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=hVjq4Q6aJYFUaPzl4Xob3Tqdmvf0cgXSHApZFBvN1k8=; b=VcPX51TST/xYejgEj1fY2l4RT1V21uC1UdBu2mcWaSnhqpjWFGg9jgedDGkxE08tCF WBU+pyWUyF7LVa2s/6LE9df6gDDsnKrBywXErtAeXr/oebhzJ1q8ygOL+uARew0ZDlyt 6a39DXlgcbStzQm5UPrBWzos6R6WC7ljF3joxGPSQ8zxEw8aoYIXjLhCBcPK8LKZ/RkJ atT/4qerCFKjKzSLYqfNY6+bRSiNAqY0gs3mw69bXnwTHVSPUxk42JOauryHAzxvpQdA HpW0XvDgVuf3CtbhiV4+avBrFLKsvcntRfdu8dV8UzzZV81mnO/CtJbXl3s8j3RLx2GY mjIw== X-Gm-Message-State: AFeK/H0UojzDHd7cEzhVvWCo9HL9c4j3LAIHgsgJPi66tkYBXYLKWbdauCWWFDbWUkq6VJIR X-Received: by 10.28.91.1 with SMTP id p1mr3831737wmb.63.1490885089231; Thu, 30 Mar 2017 07:44:49 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id 201sm12583240wmr.5.2017.03.30.07.44.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Mar 2017 07:44:48 -0700 (PDT) From: Thomas Monjalon To: Ferruh Yigit Cc: Jerin Jacob , dev@dpdk.org, stable@dpdk.org Date: Thu, 30 Mar 2017 16:44:47 +0200 Message-ID: <2209858.k3RMxm9CbZ@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20170321095448.13772-1-ferruh.yigit@intel.com> References: <20170320112208.7941-1-ferruh.yigit@intel.com> <20170321095448.13772-1-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: Re: [dpdk-dev] [PATCH v2] kni: fix build with kernel 4.11 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2017 14:44:50 -0000 2017-03-21 09:54, Ferruh Yigit: > compile error: > .../build/build/lib/librte_eal/linuxapp/kni/kni_net.c:124:6: > error: implicit declaration of function =E2=80=98signal_pending=E2=80= =99 > [-Werror=3Dimplicit-function-declaration] > if (signal_pending(current) || ret_val <=3D 0) { > ^~~~~~~~~~~~~~ >=20 > Linux 4.11 moves signal function declarations to its own header file:= > Linux: 174cd4b1e5fb ("sched/headers: Prepare to move signal wakeup & > sigpending methods from into ")= >=20 > Use new header file "linux/sched/signal.h" to fix the build error. >=20 > Cc: stable@dpdk.org >=20 > Reported-by: Jerin Jacob > Signed-off-by: Ferruh Yigit > Tested-by: Jerin Jacob > Tested-by: Pankaj Gupta > --- > v2: > * update commit log User -> Use > * CC: stable and Thomas Applied, thanks