diff options
author | Chen Zhou <chenzhou10@huawei.com> | 2020-05-08 14:40:00 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2020-06-08 16:51:32 +0200 |
commit | 1eb2f96d0bffb2cca1fb7249ad9b6b4daa1d1d6a (patch) | |
tree | 0b37332ef5b2d1ec4a5c756e69db610f22ac507b /Documentation | |
parent | nfsd: safer handling of corrupted c_type (diff) | |
download | linux-1eb2f96d0bffb2cca1fb7249ad9b6b4daa1d1d6a.tar.xz linux-1eb2f96d0bffb2cca1fb7249ad9b6b4daa1d1d6a.zip |
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions