From: Chen Gang Date: Mon, 8 Apr 2013 04:06:44 +0000 (+0800) Subject: kernel: tracing: Use strlcpy instead of strncpy X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~134^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9607a869ee59594f3f7b9f3ac43a11d92bf3f960;p=pandora-kernel.git kernel: tracing: Use strlcpy instead of strncpy Use strlcpy() instead of strncpy() as it will always add a '\0' to the end of the string even if the buffer is smaller than what is being copied. Link: http://lkml.kernel.org/r/51624254.30301@asianux.com Signed-off-by: Chen Gang Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed