examples/l3fwd: fix error checking
authorSunil Kumar Kori <skori@marvell.com>
Fri, 17 Apr 2020 08:25:16 +0000 (13:55 +0530)
committerJerin Jacob <jerinj@marvell.com>
Fri, 1 May 2020 17:37:17 +0000 (19:37 +0200)
commitd52e042850147c861f31adb04ad8a65820971117
treefff93f44a5781854527289d62f7bf327d50d29da
parent0efc99bed3a0a78a02d55da02cedb5028dbcd6f1
examples/l3fwd: fix error checking

This patch fixes coverity issues regard to error check.

Coverity issue: 354227, 354232, 354238, 354239, 354240
Fixes: aaf58cb85b62 ("examples/l3fwd: add event port and queue setup")
Cc: stable@dpdk.org
Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
examples/l3fwd/l3fwd_event.c
examples/l3fwd/l3fwd_event_generic.c
examples/l3fwd/l3fwd_event_internal_port.c