mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
It is more efficient to use kmemdup_nul() if the size is known exactly . According to doc: "Note: Use kmemdup_nul() instead if the size is known exactly." Signed-off-by: Chen Zhou <chenzhou10@huawei.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
9.3 KiB
9.3 KiB