event/cnxk: fix out of bounds access in test
authorGowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
Sun, 24 Apr 2022 16:24:55 +0000 (21:54 +0530)
committerJerin Jacob <jerinj@marvell.com>
Tue, 17 May 2022 14:42:44 +0000 (16:42 +0200)
commit2f5b0c48629e53400f0fa85e22a56e7fa9f6be65
treed9bda4520b8f5e1e8859a23a279890a34f8bb53b
parent86fe66d456678442c78420e4bd036d1098c1ef8a
event/cnxk: fix out of bounds access in test

Fix out of bounds array access reported in coverity scan.

Coverity issue: 375817
Fixes: 2351506401e ("event/cnxk: add SSO selftest and dump")
Cc: stable@dpdk.org
Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/event/cnxk/cnxk_eventdev_selftest.c