eventdev: check input parameter for dump op
authorDavid Marchand <david.marchand@redhat.com>
Sun, 1 Nov 2020 20:36:44 +0000 (21:36 +0100)
committerJerin Jacob <jerinj@marvell.com>
Mon, 2 Nov 2020 13:46:51 +0000 (14:46 +0100)
commit98ee07c20da2e40d197e5cd2d652bf591c3521e1
treec2305d8d3827ebf0b4e2ace4a38e1eef186d4887
parent30cf1713522c4c6e15544ff7c73d10892ec86ae4
eventdev: check input parameter for dump op

Rather than have drivers check for this, let's ensure the passed FILE *
is not NULL.

Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Timothy McDaniel <timothy.mcdaniel@intel.com>
lib/librte_eventdev/rte_eventdev.c