commit | 786fdf0bbf1c3a1b402bb2da946b93e0b36a8f32 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Oct 02 01:47:46 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 02 22:41:17 2012 -0400 |
tree | 3d11a64015c2ee8cb8e633326ec2d0865ffaa97b | |
parent | 62b54dd91567686a1cb118f76a72d5f4764a86dd [diff] |
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 <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>