_va_diode_handler()
authoryu.dongliang <18588496441@163.com>
Mon, 23 Oct 2023 14:30:12 +0000 (22:30 +0800)
committeryu.dongliang <18588496441@163.com>
Mon, 23 Oct 2023 14:30:12 +0000 (22:30 +0800)
ses_step_va_diode.c
ses_steps.c

index 2546702e5c894967214b076e4f0478229523c875..1c5156910436b40a0f62bf9b6c8a41e605453db2 100644 (file)
@@ -452,7 +452,7 @@ static int _va_diode_handler(ScfEfunction* f, int64_t ns, int64_t count, ses_ctx
        for (i = 0; i < ctx->paths->size; i++) {
                path      = ctx->paths->data[i];
 
-               scf_logi("i: %ld, path->type: %d\n", i, path->type);
+               scf_logi("i: %ld, path->index: %d\n", i, path->index);
 
                int ret = ses_path_va_diode(f, path);
                if (ret < 0)
index 1894f40aab5e3741a07c1a8e95c6df8768991536..897dbc4af9162aea5c49251027ae4a30790b27b5 100644 (file)
@@ -140,7 +140,7 @@ int ses_steps_analyse(ScfEfunction* f, int64_t ns, int64_t count)
                        return ret;
 
                int j;
-               for (j = 0; ; j++) {
+               for (j = 0; j < 1; j++) {
                        ret = __ses_steps_analyse(f, ns, i, ctx);
 
                        if (-EAGAIN == ret)