common/dpaax: fix possible null pointer access
authorChengwen Feng <fengchengwen@huawei.com>
Wed, 21 Apr 2021 02:46:53 +0000 (10:46 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 21 Apr 2021 14:58:34 +0000 (16:58 +0200)
commit611c394c18598185d3f6f330d0cdf6c26316cc9b
treef12f9e17aaaa9759eb9d7edcf0cbb312ae9ec6a2
parent3a91d2d138988e208b96a98a859fc3a0d9a9fe4d
common/dpaax: fix possible null pointer access

This patch fixes possible null pointer access when dump iova table.

Fixes: 2f3d633aa593 ("common/dpaax: add library for PA/VA translation table")
Cc: stable@dpdk.org
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/common/dpaax/dpaax_iova_table.c