Re: [PATCH RESEND] EDAC/ghes: Replace deprecated strcpy in ghes_edac_report_mem_error

From: Borislav Petkov
Date: Sun Nov 16 2025 - 06:38:28 EST


On Fri, Nov 14, 2025 at 05:00:05PM +0100, Thorsten Blum wrote:
> strcpy() is deprecated; use strscpy() instead. No functional changes.

Please put the reason why it is deprecated here using

https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy

so that the commit message is self-contained.

Then you can point to our documentation instead of some page:

> Link: https://github.com/KSPP/linux/issues/88

we don't really control and can become obsolete.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette