2015-11-06 16:30, Bernard Iremonger:
> add else branch to if statement.
I think a return statement would be more appropriate.
> Dereferencing NULL pointer reported by Coverity, CID 119256.
> Dereferencing NULL pointer reported by Coverity, CID 119257.
>
> Signed-off-by: Bernard Iremonger
[...]
Hi Thomas,
> Subject: Re: [dpdk-dev] [PATCH 1/1] librte_ether: fix coverity errors in
> rte_eth_copy_pci_info
>
> 2015-11-06 16:30, Bernard Iremonger:
> > add else branch to if statement.
>
> I think a return statement would be more appropriate.
>
I will a
add else branch to if statement.
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 | 23 ---
1 file changed, 12 insertions(+), 11 deleti
3 matches
Mail list logo