[dpdk-dev] [PATCH] net/mrvl: reset errno before library call

Ferruh Yigit ferruh.yigit at intel.com
Thu Nov 2 19:57:27 CET 2017


On 11/2/2017 1:37 AM, Tomasz Duszynski wrote:
> In case errno contains some non-zero value and call to strtoul() is
> successful -2 error will be returned.
> 
> Setting errno to zero before calling strtoul() makes sure
> errors will be handled correctly.
> 
> Fixes: 0ddc9b815b11 ("net/mrvl: add net PMD skeleton")
> 
> Signed-off-by: Tomasz Duszynski <tdu at semihalf.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list