diff options
author | Sandro Volery <sandro@volery.com> | 2019-09-11 09:23:59 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-12 12:38:45 +0300 |
commit | 129dac370096ab8eded1d6367f8b539df0e28737 (patch) | |
tree | 63ac39a00273a07eb28f9d1172d10f65ad57cd2f /drivers/thunderbolt/ctl.c | |
parent | 63350bdb384543e2fcfd007b9da8239f03c56860 (diff) | |
download | linux-129dac370096ab8eded1d6367f8b539df0e28737.tar.xz |
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: Sandro Volery <sandro@volery.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20190911062359.GA14886@volery
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/thunderbolt/ctl.c')
0 files changed, 0 insertions, 0 deletions