event/cnxk: fix SSO and TIM argument parsing
authorShijith Thotton <sthotton@marvell.com>
Mon, 30 Aug 2021 16:06:46 +0000 (21:36 +0530)
committerJerin Jacob <jerinj@marvell.com>
Thu, 21 Oct 2021 08:14:50 +0000 (10:14 +0200)
commit5fb651552c79597ad7a001b2b240891b6b135888
treea2e830c076ed871cdc1fcbf2a4acb123ff240abd
parent8113fd15e229364af766c3ab08f836d735a3e2cc
event/cnxk: fix SSO and TIM argument parsing

Type of kvargs value and handler function argument should match to avoid
spilling memory.

Fixes: 7ffa7379965e ("event/cnxk: add option to configure getwork mode")
Cc: stable@dpdk.org
Signed-off-by: Shijith Thotton <sthotton@marvell.com>
drivers/event/cnxk/cnxk_eventdev.c
drivers/event/cnxk/cnxk_tim_evdev.h