
11 Mar
2024
11 Mar
'24
3:47 p.m.
If 'break' is not added to the switch-case statement, the program continues to execute the next case statement, causing an error. Signed-off-by: Qi Tao <taoqi10@huawei.com> --- uadk_tool/benchmark/uadk_benchmark.c | 1 + 1 file changed, 1 insertion(+) diff --git a/uadk_tool/benchmark/uadk_benchmark.c b/uadk_tool/benchmark/uadk_benchmark.c index 7b275b2..1262a2a 100644 --- a/uadk_tool/benchmark/uadk_benchmark.c +++ b/uadk_tool/benchmark/uadk_benchmark.c @@ -594,6 +594,7 @@ static int benchmark_run(struct acc_option *option) } else if (option->modetype == NOSVA_MODE) { ret = zip_wd_benchmark(option); } + break; case TRNG_TYPE: if (option->modetype == SVA_MODE) ACC_TST_PRT("TRNG not support sva mode..\n"); -- 2.33.0