mirror of
https://github.com/torvalds/linux.git
synced 2026-12-05 04:44:03 +00:00
The length of the string is calculated in order to allocate the correct sized memory block, use the same length to copy the string. Signed-off-by: David Laight <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Johannes Berg <[email protected]>