pipeline: fix build with ASan
Code changes to avoid the following build error: "Control reaches end of non-void function". Signed-off-by: Xueqin Lin <xueqin.lin@intel.com> Signed-off-by: Zhihong Peng <zhihongx.peng@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
This commit is contained in:
parent
eb89595d45
commit
84f5ac9418
@ -4642,7 +4642,7 @@ instr_meter_translate(struct rte_swx_pipeline *p,
|
||||
return 0;
|
||||
}
|
||||
|
||||
CHECK(0, EINVAL);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
static inline void
|
||||
@ -5937,7 +5937,7 @@ instr_translate(struct rte_swx_pipeline *p,
|
||||
instr,
|
||||
data);
|
||||
|
||||
CHECK(0, EINVAL);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
static struct instruction_data *
|
||||
|
Loading…
Reference in New Issue
Block a user