Skip to content
Commit 129dac37 authored by Sandro Volery's avatar Sandro Volery Committed by Greg Kroah-Hartman
Browse files

Staging: octeon: Avoid several usecases of strcpy



strcpy was used multiple times in strcpy to write into dev->name.
I replaced them with strscpy.

Signed-off-by: default avatarSandro Volery <sandro@volery.com>
Reviewed-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20190911062359.GA14886@volery


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 63350bdb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment