From: Greg KH <gregkh@linuxfoundation.org>
To: Larry Finger <Larry.Finger@lwfinger.net>
Cc: devel@driverdev.osuosl.org, netdev@vger.kernel.org
Subject: Re: [PATCH 0/2] staging: Fix some warnings from strncpy()
Date: Mon, 27 Aug 2018 19:48:07 +0200 [thread overview]
Message-ID: <20180827174807.GA27089@kroah.com> (raw)
In-Reply-To: <20180820175124.23863-1-Larry.Finger@lwfinger.net>
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@lwfinger.net>
>
>
> 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
prev parent reply other threads:[~2018-08-27 21:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-20 17:51 [PATCH 0/2] staging: Fix some warnings from strncpy() Larry Finger
2018-08-20 17:51 ` [PATCH 1/2] staging: rtl8192e: Fix compiler warning about strncpy Larry Finger
2018-08-21 13:41 ` David Laight
2018-08-20 17:51 ` [PATCH 2/2] staging: rtl8712u: " Larry Finger
2018-08-27 17:48 ` Greg KH [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=20180827174807.GA27089@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=Larry.Finger@lwfinger.net \
--cc=devel@driverdev.osuosl.org \
--cc=netdev@vger.kernel.org \
/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).