Messages in this thread | | | Date | Fri, 24 Oct 2014 22:55:17 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH v5] char: hw_random: core.c: Changed from using strncat to strlcat |
| |
On Thu, Oct 16, 2014 at 11:17:23PM +0200, Rickard Strandqvist wrote: > 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>
Patch applied. Thanks! -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |