]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
qlcnic: silence false positive overflow warning
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 30 Jan 2013 22:14:10 +0000 (22:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Feb 2013 04:00:22 +0000 (23:00 -0500)
commit7bc486460fe22a93e08b1dc4dce8318e3bc2db50
treedcf1a86862d33eb4b02b18043765f994f6ae6de0
parent7614fe8888840a78ad4730d82adcc679c1af1894
qlcnic: silence false positive overflow warning

We actually store the MAC address as well as the board_name here.  The
longest board_name is 75 characters so there is more than enough room
to hold the 17 character MAC and the ": " divider.  But making this
buffer larger silences a static checker warning.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-By: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c