[PATCH] KEYS: Fix kernel-doc

Jiapeng Chong posted 1 patch 3 years, 6 months ago
certs/system_keyring.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] KEYS: Fix kernel-doc
Posted by Jiapeng Chong 3 years, 6 months ago
certs/system_keyring.c:45: warning: expecting prototype for restrict_link_to_builtin_trusted(). Prototype was for restrict_link_by_builtin_trusted() instead.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2342
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 certs/system_keyring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/certs/system_keyring.c b/certs/system_keyring.c
index 5042cc54fa5e..659f1881d0e3 100644
--- a/certs/system_keyring.c
+++ b/certs/system_keyring.c
@@ -33,7 +33,7 @@ extern __initconst const unsigned long system_certificate_list_size;
 extern __initconst const unsigned long module_cert_size;
 
 /**
- * restrict_link_to_builtin_trusted - Restrict keyring addition by built in CA
+ * restrict_link_by_builtin_trusted() - Restrict keyring addition by built in CA
  *
  * Restrict the addition of keys into a keyring based on the key-to-be-added
  * being vouched for by a key in the built in system keyring.
-- 
2.20.1.7.g153144c