Messages in this thread | | | Date | Wed, 26 Jul 2023 12:49:23 +0100 | From | Mark Brown <> | Subject | Re: [PATCH] ASoC: intel: avs: refactor strncpy usage in topology |
| |
On Tue, Jul 25, 2023 at 10:08:38PM +0000, justinstitt@google.com wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1]. > > A suitable replacement is `strscpy` [2]. > > There are some hopes that someday the `strncpy` api could be ripped out > due to the vast number of suitable replacements (strscpy, strscpy_pad, > strtomem, strtomem_pad, strlcpy) [1]. > > [1]: www.kernel.org/doc/html/latest/process/deprecated.html#strncpy-on-nul-terminated-strings > [2]: manpages.debian.org/testing/linux-manual-4.8/strscpy.9.en.html > > --- > > > Link: https://github.com/KSPP/linux/issues/90 > Signed-off-by: Justin Stitt <justinstitt@google.com> > ---
You've put your signoff after a --- which means it gets deleted when applied, don't do this. The Signoff should be start of the main changelog. [unhandled content-type:application/pgp-signature] | |