From: Rickard Strandqvist Date: Thu, 16 Oct 2014 21:17:23 +0000 (+0200) Subject: hwrng: core - Changed from using strncat to strlcat X-Git-Tag: omap-for-v3.19/fixes-rc1~99^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61daf055ea42342dea1f7006833bc7cde20eeb34;p=pandora-kernel.git 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 Reviewed-by: Jason Cooper Signed-off-by: Herbert Xu --- Reading git-diff-tree failed