From: Weili Qian <qianweili@huawei.com> Added support for init2 performance test function for uadk_tools of hpre module. And fix some code style issues. Signed-off-by: Weili Qian <qianweili@huawei.com> --- uadk_tool/benchmark/hpre_uadk_benchmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uadk_tool/benchmark/hpre_uadk_benchmark.c b/uadk_tool/benchmark/hpre_uadk_benchmark.c index 549893c..65b68a9 100644 --- a/uadk_tool/benchmark/hpre_uadk_benchmark.c +++ b/uadk_tool/benchmark/hpre_uadk_benchmark.c @@ -692,7 +692,7 @@ static int init_hpre_ctx_config2(struct acc_option *options) return wd_ecc_init2_(alg_name, SCHED_POLICY_DEV, TASK_HW, &cparams); default: HPRE_TST_PRT("failed to parse alg subtype on uninit2!\n"); - ret = -EINVAL; + return -EINVAL; } free(ctx_set_num); -- 2.33.0