+4
−14
Loading
Use kmemdup_nul() to copy 'name' instead of using memcpy() followed by a manual NUL termination. Remove the local return variable and the goto label to simplify the code. No functional changes. Signed-off-by:Thorsten Blum <thorsten.blum@linux.dev> Acked-by:
Tyler Hicks <code@tyhicks.com> Signed-off-by:
Tyler Hicks <code@tyhicks.com>