ice: fix use of deprecated strlcpy()
authorBruce Allan <bruce.w.allan@intel.com>
Thu, 27 Feb 2020 18:15:01 +0000 (10:15 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 10 Mar 2020 20:10:42 +0000 (13:10 -0700)
commitc88ba3fb33ca96ec8199a78f89e61a0b907762b6
treee1ed52152c0663180bb20dda2332e85300364f28
parentc8a1071df934934a63e80b0bbd068b37043715e6
ice: fix use of deprecated strlcpy()

checkpatch complains "CHECK:DEPRECATED_API: Deprecated use of 'strlcpy',
prefer 'stracpy or strscpy' instead"; use strscpy.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_ethtool.c