net/nfp: fix possible resource leak
authorYangchao Zhou <zhouyates@gmail.com>
Tue, 17 Apr 2018 05:59:08 +0000 (13:59 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 14:54:55 +0000 (15:54 +0100)
commit687790cf9a59add341b0271703638b1e4dad565e
treefbff9c785fde5215eb3159544e11597efd82091b
parent4b954bb1674784f2fb3bd8500022dd6299dd6468
net/nfp: fix possible resource leak

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

Signed-off-by: Yangchao Zhou <zhouyates@gmail.com>
Acked-by: Alejandro Lucero <alejandro.lucero@netronome.com>
drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c