Skip to content

Commit a8d7afd

Browse files
nithind1988Jerin Jacob
authored andcommitted
common/cnxk: fix error handling on inline inbound setup
Fix issue reported by kloc work. Fixes: f410059 ("common/cnxk: support inline inbound queue") Cc: [email protected] Signed-off-by: Nithin Dabilpuram <[email protected]>
1 parent fbfdfb9 commit a8d7afd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/common/cnxk/roc_nix_inl_dev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ nix_inl_inb_queue_setup(struct nix_inl_dev *inl_dev, uint8_t slot_id)
244244
if (!cpt_req) {
245245
rc |= -ENOSPC;
246246
} else {
247-
nix_req->enable = false;
247+
cpt_req->enable = 0;
248248
rc |= mbox_process(mbox);
249249
}
250250
cpt_cfg_fail:

0 commit comments

Comments
 (0)