Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bus/dpaa: fix build with asserts for GCC 13
[ upstream commit 3bcd5b3198d4a31176b1ac73fc7236a12186fffe ] when RTE_ENABLE_ASSERT is enable, DPAA driver is doing wrong NULL check on frame queue which allows the code to have access to NULL address. GCC v13 is giving array bounds error if code is accessing any memory region less than 4KB. This patch fixes this issue by adding proper NULL checks on frame queue. Bugzilla ID: 1233 Fixes: c47ff04 ("bus/dpaa: add QMAN driver core routines") Signed-off-by: Gagandeep Singh <g.singh@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
- Loading branch information