From: Rickard Strandqvist Date: Sun, 27 Jul 2014 14:57:42 +0000 (+0200) Subject: scsi: qla4xxx: ql4_mbx.c: Cleaning up missing null-terminate in conjunction with... X-Git-Tag: omap-for-v3.17/fixes-against-rc2~51^2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d0a21f1fd31adb3ec66db4c1af3856ae0b8549f;p=pandora-kernel.git scsi: qla4xxx: ql4_mbx.c: Cleaning up missing null-terminate in conjunction with strncpy Replacing strncpy with strlcpy to avoid strings that lacks null terminate. And in some cases modified to copy one character less than the overall length, as the entire area is already zeroed. Signed-off-by: Rickard Strandqvist Acked-By: Nilesh Javali Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed