From: Rickard Strandqvist Date: Sat, 26 Jul 2014 16:45:05 +0000 (+0200) Subject: powerpc/powermac: Cleaning up missing null-terminate in conjunction with strncpy X-Git-Tag: omap-for-v4.1/fixes-rc1~126^2~70^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a02c0af2f0c4b3c85e828f60ac3459456cfad1e6;p=pandora-kernel.git powerpc/powermac: Cleaning up missing null-terminate in conjunction with strncpy Replacing strncpy with strlcpy to avoid strings that lacks null terminate. And removed unnecessary magic numbers. Signed-off-by: Rickard Strandqvist Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed