From: Rickard Strandqvist Date: Sun, 27 Jul 2014 15:11:18 +0000 (+0200) Subject: 3w-9xxx.c: Cleaning up missing null-terminate in conjunction with strncpy X-Git-Tag: fixes-v4.0-rc1~143^2~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2195d9690464445d0c30ee8170030a8e696f2053;p=pandora-kernel.git 3w-9xxx.c: Cleaning up missing null-terminate in conjunction with strncpy Replacing strncpy with strlcpy to avoid strings that lacks null terminate. And use the sizeof on the to string rather than strlen on the from string. Signed-off-by: Rickard Strandqvist Acked-by: Adam Radford Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed