net/nfp: fix strncpy misuse
authorAndy Green <andy@warmcat.com>
Mon, 14 May 2018 05:00:22 +0000 (13:00 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 May 2018 21:32:23 +0000 (23:32 +0200)
commit01077fa9ac9c320e84b85f2965056b926401b316
treea59e4aed5c692f658bcf7f72fecb3ece08ddc358
parenta74640c468d946cdeb67089eca04c202b1857788
net/nfp: fix strncpy misuse

Fixes: c7e9729da6b5 ("net/nfp: support CPP")

Signed-off-by: Andy Green <andy@warmcat.com>
Acked-by: Alejandro Lucero <alejandro.lucero@netronome.com>
Tested-by: Alejandro Lucero <alejandro.lucero@netronome.com>
drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c