[-next v2] nvmet-auth: use kmemdup instead of kmalloc + memcpy

Christoph Hellwig hch at infradead.org
Thu Jul 28 09:07:01 PDT 2022


On Tue, Jul 26, 2022 at 10:56:32AM +0800, Zhang Xiaoxu wrote:
> For code neat purpose, we can use kmemdup to replace
> kmalloc + memcpy.

Thanks, applied to nvme-5.20 after fixing the coding style.



More information about the Linux-nvme mailing list