Skip to content
Commit 1eb2f96d authored by Chen Zhou's avatar Chen Zhou Committed by J. Bruce Fields
Browse files

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: default avatarChen Zhou <chenzhou10@huawei.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent c25bf185
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment