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

2024-11-17 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 --- v2 -> v3: store strscpy result in ret and return re

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

Re: [f2fs-dev] [PATCH] parse_options(): replace deprecated strcpy with strscpy

2024-11-08 Thread Daniel Yang
On Fri, Nov 8, 2024 at 1:47 AM Chao Yu wrote: > > On 2024/11/6 10:58, 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

[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 f

[f2fs-dev] [PATCH] parse_options(): replace deprecated strcpy with strscpy

2024-11-05 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 --- fs/f2fs/super.c | 4 ++-- 1 file changed, 2 insert