[dpdk-dev] [v2 1/1] librte_ether: fix coverity errors in rte_eth_copy_pci_info

2015-11-10 Thread Thomas Monjalon
2015-11-06 17:20, Bernard Iremonger: > add return statement to if branch > > Dereferencing NULL pointer reported by Coverity, CID 119256. > Dereferencing NULL pointer reported by Coverity, CID 119257. > > Signed-off-by: Bernard Iremonger Fixes: 494adb7f63f2 ("ethdev: add device fields from PCI

[dpdk-dev] [v2 1/1] librte_ether: fix coverity errors in rte_eth_copy_pci_info

2015-11-06 Thread Bernard Iremonger
add return statement to if branch Dereferencing NULL pointer reported by Coverity, CID 119256. Dereferencing NULL pointer reported by Coverity, CID 119257. Signed-off-by: Bernard Iremonger --- lib/librte_ether/rte_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_ether/rte