[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <57FABB07-3C1B-4D33-A5BB-8D402A20487F@linux.dev>
Date: Mon, 22 Sep 2025 23:11:01 +0200
From: Thorsten Blum <thorsten.blum@...ux.dev>
To: Andreas Larsson <andreas@...sler.com>
Cc: Bjorn Helgaas <helgaas@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
linux-hardening@...r.kernel.org,
sparclinux@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH RESEND] sparc: PCI: Replace deprecated strcpy() with
strscpy()
Hi Andreas,
On 19. Sep 2025, Andreas Larsson wrote:
>
>
> On 2025-09-17 17:50, Bjorn Helgaas wrote:
>> On Wed, Sep 17, 2025 at 04:47:30PM +0200, Thorsten Blum wrote:
>>> strcpy() is deprecated; use strscpy() instead.
>>>
>>> No functional changes intended.
>>>
>>> Link: https://github.com/KSPP/linux/issues/88
>>> Signed-off-by: Thorsten Blum <thorsten.blum@...ux.dev>
>>
>> No objection from me, but no particular PCI core issue and I don't
>> maintain this file, so up to the sparc folks if they want it.
>>
>> I would consider making a single patch to address this issue
>> everywhere in arch/sparc so it can all be reviewed together.
>
> Thank you and sorry for the late feedback. I agree with the above.
> Thorsten, could you fix this for all occurrences of strcpy() in
> arch/sparc?
I just submitted a small series [1] replacing all occurrences of strcpy
in arch/sparc.
Thanks,
Thorsten
[1] https://lore.kernel.org/lkml/20250922210408.1723452-1-thorsten.blum@linux.dev/
Powered by blists - more mailing lists