From: Dan Carpenter Date: Tue, 2 Oct 2012 01:47:46 +0000 (+0000) Subject: bnx2x: use strlcpy() to copy a string X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~11^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=786fdf0bbf1c3a1b402bb2da946b93e0b36a8f32;p=pandora-kernel.git bnx2x: use strlcpy() to copy a string DRV_MODULE_VERSION is smaller than the ->version buffer so the memcpy() copies 1 byte past the end of the string. It's not super harmful, but it makes the static checkers complain. Signed-off-by: Dan Carpenter Signed-off-by: David S. Miller --- Reading git-diff-tree failed