net/octeontx: fix null pointer dereference
authorSantosh Shukla <santosh.shukla@caviumnetworks.com>
Tue, 20 Feb 2018 17:14:15 +0000 (22:44 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:43 +0000 (14:08 +0200)
commita98122ef6601015374bb2d598012331ddfd2b81d
tree620cf263aad947a0c3bdcd1593f659cc7dae94e6
parente54b560d2892e540567476e2588be42dbd15d957
net/octeontx: fix null pointer dereference

Coverity issue: 195040
Fixes: f18b146c498d ("net/octeontx: create ethdev ports")
Cc: stable@dpdk.org
Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
drivers/net/octeontx/octeontx_ethdev.c