Projects
Eulaceura:Mainline:GA
libwd
_service:obs_scm:0008-test-fix-build-error.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0008-test-fix-build-error.patch of Package libwd
From 4a451be8acc77467d6ffec9506b8f89ef92def8a Mon Sep 17 00:00:00 2001 From: Zhangfei Gao <zhangfei.gao@linaro.org> Date: Wed, 24 Jan 2024 04:34:16 +0000 Subject: [PATCH 8/8] test: fix build error Fix build errors like "unused variable" Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org> Signed-off-by: 15859157387 <977713017@qq.com> --- test/wd_mempool_test.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/wd_mempool_test.c b/test/wd_mempool_test.c index ad04636..6e28b46 100644 --- a/test/wd_mempool_test.c +++ b/test/wd_mempool_test.c @@ -644,7 +644,7 @@ static void *sva_sec_cipher_async(void *arg) int cnt = g_times; handle_t h_sess; int ret; - int j, i; + int j; setup->alg = WD_CIPHER_AES; setup->mode = WD_CIPHER_CBC; @@ -658,7 +658,6 @@ static void *sva_sec_cipher_async(void *arg) SEC_TST_PRT("test sec cipher set key is failed!\n"); goto out;; } - i = cnt; /* run task */ do { try_do_again: @@ -666,7 +665,6 @@ try_do_again: req->src = pdata->bd_pool->bds[j].src; req->dst = pdata->bd_pool->bds[j].dst; ret = wd_do_cipher_async(h_sess, req); - i--; if (ret == -EBUSY) { // busy usleep(100); goto try_do_again; -- 2.25.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2