[dpdk-dev] [PATCH] common/dpaax: fix incorrect error case
Thomas Monjalon
thomas at monjalon.net
Thu Oct 25 00:42:25 CEST 2018
24/10/2018 07:44, Shreyansh Jain:
> In case the memory for nodes cannot be allocated, there is no need
> to check for the length. Also, `node_count` is an unsigned value
> and cannot be less than 0.
>
> Coverity issue: 323521
>
> Fixes: 2f3d633aa593 ("common/dpaax: add library for PA/VA translation table")
> Cc: shreyansh.jain at nxp.com
>
> Signed-off-by: Shreyansh Jain <shreyansh.jain at nxp.com>
Applied, thanks
More information about the dev
mailing list