summaryrefslogtreecommitdiffstats
path: root/drivers/char/sonypi.c
diff options
context:
space:
mode:
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>2014-10-16 23:17:23 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2014-10-24 16:52:27 +0200
commit61daf055ea42342dea1f7006833bc7cde20eeb34 (patch)
tree626d28dc2ce071460aa41a2a528a542e287c8a17 /drivers/char/sonypi.c
parentcrypto: qat - misspelling typo - "reseting" should be "resetting" (diff)
downloadlinux-61daf055ea42342dea1f7006833bc7cde20eeb34.tar.xz
linux-61daf055ea42342dea1f7006833bc7cde20eeb34.zip
hwrng: core - Changed from using strncat to strlcat
The buf is used to hold the list of hwrng devices registered. The old code ensures we don't walk off the end of buf as we fill it, but it's unnecessarily complicated and thus difficult to maintain. Simplify it by using strlcat. Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> Reviewed-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/sonypi.c')
0 files changed, 0 insertions, 0 deletions