summaryrefslogtreecommitdiff
path: root/arch/metag/Kconfig
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 22:52:27 +0800
commit61daf055ea42342dea1f7006833bc7cde20eeb34 (patch)
tree626d28dc2ce071460aa41a2a528a542e287c8a17 /arch/metag/Kconfig
parent77ddaba02bb83c4628b4fc1cf36b9ac81b9a7609 (diff)
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 'arch/metag/Kconfig')
0 files changed, 0 insertions, 0 deletions