[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <72780460-f0cf-4ad1-bf88-f49cb37f0de8@app.fastmail.com>
Date: Mon, 08 Apr 2024 20:30:05 +0200
From: "Arnd Bergmann" <arnd@...db.de>
To: "Justin Stitt" <justinstitt@...gle.com>, "Arnd Bergmann" <arnd@...nel.org>
Cc: linux-kernel@...r.kernel.org, "Viresh Kumar" <vireshk@...nel.org>,
"Johan Hovold" <johan@...nel.org>, "Alex Elder" <elder@...nel.org>,
"Greg Kroah-Hartman" <gregkh@...uxfoundation.org>,
"Christophe JAILLET" <christophe.jaillet@...adoo.fr>,
greybus-dev@...ts.linaro.org, linux-staging@...ts.linux.dev
Subject: Re: [PATCH 10/11] staging: greybus: change strncpy() to strscpy()
On Fri, Mar 29, 2024, at 00:28, Justin Stitt wrote:
> On Thu, Mar 28, 2024 at 03:04:54PM +0100, Arnd Bergmann wrote:
>>
>>
> Arnd, I see 4 instances of strncpy() in this file. Could you clean them
> all up at once which would help GREATLY towards:
> https://github.com/KSPP/linux/issues/90
Right, I see they all operate on the same string, so it makes
sense to keep these changes together. As Dan suggested, I'm using
the padding variant for all of these here, even though I'm not
entirely sure if this is required.
Arnd
Powered by blists - more mailing lists