From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [dpdk-stable] [PATCH v2] kni: fix build with gcc 8.1 Date: Tue, 26 Jun 2018 11:54:47 +0200 Message-ID: <22836779.FGhLq8pQDX@xps> References: <20180619120855.78207-1-ferruh.yigit@intel.com> <07e4d536-edd6-292d-5adb-c05793731623@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: Ferruh Yigit , dev@dpdk.org, stephen@networkplumber.org, pablo.de.lara.guarch@intel.com To: stable@dpdk.org Return-path: In-Reply-To: <07e4d536-edd6-292d-5adb-c05793731623@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" 26/06/2018 11:02, Ferruh Yigit: > --- a/kernel/linux/kni/ethtool/igb/igb_ethtool.c > +++ b/kernel/linux/kni/ethtool/igb/igb_ethtool.c > @@ -811,9 +811,10 @@ static void igb_get_drvinfo(struct net_device *netdev, > strncpy(drvinfo->driver, igb_driver_name, sizeof(drvinfo->driver) - 1); > strncpy(drvinfo->version, igb_driver_version, sizeof(drvinfo->version) - 1); > - strncpy(drvinfo->fw_version, adapter->fw_version, > - sizeof(drvinfo->fw_version) - 1); There is a leading space before the minus of first line.