Re: [f2fs-dev] [PATCH v2] f2fs: replace deprecated strcpy with strscpy

2024-11-18 Thread Chao Yu via Linux-f2fs-devel
On 2024/11/9 9:38, Daniel Yang wrote: strcpy is deprecated. Kernel docs recommend replacing strcpy with strscpy. The function strcpy() return value isn't used so there shouldn't be an issue replacing with the safer alternative strscpy. Signed-off-by: Daniel Yang --- V1 -> V2: handle strscpy err

Re: [f2fs-dev] [PATCH v2] f2fs: replace deprecated strcpy with strscpy

2024-11-17 Thread Daniel Yang
On Sun, Nov 17, 2024 at 5:24 PM Chao Yu wrote: > > On 2024/11/9 9:38, Daniel Yang wrote: > > strcpy is deprecated. Kernel docs recommend replacing strcpy with > > strscpy. The function strcpy() return value isn't used so there > > shouldn't be an issue replacing with the safer alternative strscpy.

[f2fs-dev] [PATCH v2] f2fs: replace deprecated strcpy with strscpy

2024-11-08 Thread Daniel Yang
strcpy is deprecated. Kernel docs recommend replacing strcpy with strscpy. The function strcpy() return value isn't used so there shouldn't be an issue replacing with the safer alternative strscpy. Signed-off-by: Daniel Yang --- V1 -> V2: handle strscpy errors, changed prefix to f2fs fs/f2fs/su