diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-09 22:44:04 +1000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-16 21:49:06 +1000 |
commit | 2c2e18369f62da8217be0fbca3b94160da75cba3 (patch) | |
tree | 4dc567a95b6367a628b9a64b851e8a1f3fa33d8b /lib/locking-selftest-wlock.h | |
parent | 8832cfd3a036ebf7b4a5d9423b60e8d8b5a2f339 (diff) |
crypto: ccp - Silence strncpy warning
This patch kills an strncpy by using strscpy instead. The name
would be silently truncated if it is too long.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: John Allen <john.allen@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/locking-selftest-wlock.h')
0 files changed, 0 insertions, 0 deletions