From: Chen Gang Date: Sun, 7 Apr 2013 10:01:48 +0000 (+0800) Subject: Drivers: Staging: cxt1e1: strncpy issue, need set zero at the end. X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~247 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1159d7cc01b2209d7005f1e7630647f2b012893;p=pandora-kernel.git Drivers: Staging: cxt1e1: strncpy issue, need set zero at the end. need set '\0' at the end. or cause issue. it is called by c4_ioctl in drivers/staging/cxt1e1/linux.c all things need be initialized, before provide them to user mode. so we can not use strlcpy instead of strncpy. code style: all contents of the file use 4 spaces instead of '\t', so this patch has to follow, now. Signed-off-by: Chen Gang Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed