i40e: Cleaning up missing null-terminate in conjunction with strncpy
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Tue, 29 Jul 2014 09:26:25 +0000 (09:26 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 12 Aug 2014 07:55:53 +0000 (00:55 -0700)
commit35a7d8045931d384c3d02f28287e0eb42d6038f4
treee6140456a91e735605371a5b4c87febed55d9b6d
parentf57e4fbdcc8f65b94d59ce5566c781c46a298c28
i40e: Cleaning up missing null-terminate in conjunction with strncpy

Replacing strncpy with strlcpy to avoid strings that lacks null terminate.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Tested-By: Jim Young <jamesx.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c