Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B21D1C10F13 for ; Mon, 8 Apr 2019 20:00:44 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 6E74620880 for ; Mon, 8 Apr 2019 20:00:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6E74620880 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 126BE4CA9; Mon, 8 Apr 2019 22:00:43 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 02CC24CA6; Mon, 8 Apr 2019 22:00:40 +0200 (CEST) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Apr 2019 13:00:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,326,1549958400"; d="scan'208";a="162511230" Received: from bricha3-mobl.ger.corp.intel.com ([10.251.86.32]) by fmsmga001.fm.intel.com with SMTP; 08 Apr 2019 13:00:37 -0700 Received: by (sSMTP sendmail emulation); Mon, 08 Apr 2019 21:00:36 +0100 Date: Mon, 8 Apr 2019 21:00:35 +0100 From: Bruce Richardson To: Ferruh Yigit Cc: dev@dpdk.org, stable@dpdk.org Message-ID: <20190408200035.GA1146@bricha3-MOBL.ger.corp.intel.com> References: <20190408142226.88179-1-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190408142226.88179-1-ferruh.yigit@intel.com> User-Agent: Mutt/1.11.4 (2019-03-13) Subject: Re: [dpdk-dev] [PATCH] kni: fix build for ndo_fdb_add in Linux 5.1 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Apr 08, 2019 at 03:22:26PM +0100, Ferruh Yigit wrote: > Build error seen with Linux kernel 5.1 and > when CONFIG_RTE_KNI_KMOD_ETHTOOL is enabled. > > Build error: > .../dpdk/build/build/kernel/linux/kni/igb_main.c:2352:18: > error: initialization of ... from incompatible pointer type ... > [-Werror=incompatible-pointer-types] > .ndo_fdb_add = igb_ndo_fdb_add, > ^~~~~~~~~~~~~~~ > > ndo_fdb_add() is changed in Linux kernel version 5.1 and now requires > a new parameter, 'struct netlink_ext_ack *extack': > Linux Commit 87b0984ebfab ("net: Add extack argument to ndo_fdb_add()") > > ndo_fdb_add() parameter updated with compile time Linux kernel version > check. > > Cc: stable@dpdk.org > > Signed-off-by: Ferruh Yigit > --- Thanks, Ferruh. This allows my builds to start passing again on bleeding-edge kernels. Tested-by: Bruce Richardson