commit | 1eb2f96d0bffb2cca1fb7249ad9b6b4daa1d1d6a | [log] [tgz] |
---|---|---|
author | Chen Zhou <chenzhou10@huawei.com> | Fri May 08 20:40:00 2020 +0800 |
committer | J. Bruce Fields <bfields@redhat.com> | Mon Jun 08 10:51:32 2020 -0400 |
tree | 0b37332ef5b2d1ec4a5c756e69db610f22ac507b | |
parent | c25bf185e57213b54ea0d632ac04907310993433 [diff] |
sunrpc: use kmemdup_nul() in gssp_stringify() 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>