[PATCH v4 2/2] ubifs: use strscpy() and kmemdup_nul() where appropriate
Richard Weinberger
richard at nod.at
Thu Apr 9 22:57:34 PDT 2026
----- Ursprüngliche Mail -----
> Von: "chengzhihao1" <chengzhihao1 at huawei.com>
> An: "Dmitry Antipov" <dmantipov at yandex.ru>
> CC: "richard" <richard at nod.at>, "linux-mtd" <linux-mtd at lists.infradead.org>
> Gesendet: Freitag, 10. April 2026 03:06:39
> Betreff: Re: [PATCH v4 2/2] ubifs: use strscpy() and kmemdup_nul() where appropriate
> 在 2026/4/9 12:56, Dmitry Antipov 写道:
>> Go closer to the modern kernel API and use 'strscpy()' and 'kmemdup_nul()'
>> over an ad-hoc ensure-to-have-'\0' quirks where appropriate.
>>
>> Signed-off-by: Dmitry Antipov <dmantipov at yandex.ru>
Dmitry, how are you testing these changes?
Thanks,
//richard
More information about the linux-mtd
mailing list