event/dlb: fix bug accessing unitialized variable
PATCH 1/1 event/dlb: fix bug accessing unitialized variable
Fixes f0073621940c ("event/dlb: add eventdev stop and close")
Coverity issue: 366202
Signed-off-by Timothy McDaniel <[email protected]>
--- drivers/event/dlb/dlb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/event/dlb/dlb.c +1 -1
@@ -3573,7 +3573,7 @@ static int dlb_num_dir_queues_setup(struct dlb_eventdev *dlb) {struct dlb_hw_dev *handle = &dlb->qm_instance;struct dlb_get_ldb_queue_depth_args cfg; -struct dlb_cmd_response response; +struct dlb_cmd_response response = {0 };int ret; cfg.queue_id = queue->qm_queue.id;
Signature · 1 line
1.7.10