We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88fa800 commit 688abe1Copy full SHA for 688abe1
drivers/net/ethernet/marvell/octeontx2/nic/rep.c
@@ -67,6 +67,8 @@ static int rvu_rep_mcam_flow_init(struct rep_dev *rep)
67
68
rsp = (struct npc_mcam_alloc_entry_rsp *)otx2_mbox_get_rsp
69
(&priv->mbox.mbox, 0, &req->hdr);
70
+ if (IS_ERR(rsp))
71
+ goto exit;
72
73
for (ent = 0; ent < rsp->count; ent++)
74
rep->flow_cfg->flow_ent[ent + allocated] = rsp->entry_list[ent];
0 commit comments