net/i40e: fix string overflow issue
authorBeilei Xing <beilei.xing@intel.com>
Fri, 20 Oct 2017 02:21:19 +0000 (10:21 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 26 Oct 2017 00:33:01 +0000 (02:33 +0200)
commit5838a74502dc084cc56261bb410b6282e832e5c4
tree5a2aa82893a25fc4cf125302840eac30124e52c1
parentb8f4fa4103eaaf082d42ad85f01b1a08e74b89d6
net/i40e: fix string overflow issue

This patch fixes the coverity STRING_OVERFLOW issue.

Coverity issue: 195002
Fixes: e163c18a15b0 ("net/i40e: update ptype and pctype info")

Reported-by: John McNamara <john.mcnamara@intel.com>
Signed-off-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/i40e_ethdev.c