From: Alejandro Lucero Date: Wed, 8 Nov 2017 14:36:32 +0000 (+0000) Subject: net/nfp: fix null pointer check X-Git-Tag: spdx-start~859 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=fee720e9292529c08f6a80ed05bd47d559812916;hp=fee720e9292529c08f6a80ed05bd47d559812916;p=dpdk.git net/nfp: fix null pointer check First, the received pointer was not checked before. Then the pointer from malloc was not the one used in the existing check. Coverity issue: 195027 Fixes: ad60bca34899 ("net/nfp: read PF port MAC addr using NSP") Signed-off-by: Alejandro Lucero ---