libwd/0003-uadk-cipher-fix-wd_cipher_init2-typo.patch
2023-09-28 09:15:32 +08:00

29 lines
945 B
Diff

From 6639d6598a1629b55dcc08652f995975d7df92a4 Mon Sep 17 00:00:00 2001
From: Zhangfei Gao <zhangfei.gao@linaro.org>
Date: Tue, 27 Jun 2023 15:13:05 +0000
Subject: [PATCH 03/26] uadk/cipher: fix wd_cipher_init2 typo
The wd_cipher_init2 should define as wd_cipher_init2_
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
---
include/wd_cipher.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/wd_cipher.h b/include/wd_cipher.h
index 46d3d31..8f043fd 100644
--- a/include/wd_cipher.h
+++ b/include/wd_cipher.h
@@ -127,7 +127,7 @@ void wd_cipher_uninit(void);
int wd_cipher_init2_(char *alg, __u32 sched_type, int task_type, struct wd_ctx_params *ctx_params);
#define wd_cipher_init2(alg, sched_type, task_type) \
- wd_cipher_init2(alg, sched_type, task_type, NULL)
+ wd_cipher_init2_(alg, sched_type, task_type, NULL)
/**
* wd_cipher_uninit2() - Uninitialise ctx configuration and scheduler.
--
2.25.1