[PATCH -next] nvme: switch to use kmemdup_nul() helper

Chaitanya Kulkarni chaitanyak at nvidia.com
Tue Aug 15 10:06:04 PDT 2023


On 8/15/2023 1:59 AM, Ruan Jinjie wrote:
> Use kmemdup_nul() helper instead of open-coding to
> simplify the code.
> 
> Signed-off-by: Ruan Jinjie <ruanjinjie at huawei.com>
> ---

Interesting, looks good to me.

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>

-ck




More information about the Linux-nvme mailing list