From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH 0/2] staging: Fix some warnings from strncpy() Date: Mon, 27 Aug 2018 19:48:07 +0200 Message-ID: <20180827174807.GA27089@kroah.com> References: <20180820175124.23863-1-Larry.Finger@lwfinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: devel@driverdev.osuosl.org, netdev@vger.kernel.org To: Larry Finger Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:40998 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726895AbeH0V4S (ORCPT ); Mon, 27 Aug 2018 17:56:18 -0400 Content-Disposition: inline In-Reply-To: <20180820175124.23863-1-Larry.Finger@lwfinger.net> Sender: netdev-owner@vger.kernel.org List-ID: On Mon, Aug 20, 2018 at 12:51:22PM -0500, Larry Finger wrote: > When the size argument in a call to strncpy() is the size of the > destimation, gcc8 issues a warning. These patches fix the potential > problem by replacing the strncpy() with strlcpy(). > > Signed-off-by: Larry Finger > > > Larry Finger (2): > staging: rtl8192e: Fix compiler warning about strncpy > staging: rtl8712u: Fix compiler warning about strncpy > > drivers/staging/rtl8192e/rtllib_softmac.c | 4 ++-- > drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) I'm guessing you will send a second set of this patch series, right? This one is now dropped, thanks. greg k-h