lkml.org 
[lkml]   [2021]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] certs: Fix kernel-doc
Date
Fix function name in system_keyring.c kernel-doc comment
to remove a warning.

certs/system_keyring.c:41: warning: expecting prototype for
restrict_link_to_builtin_trusted(). Prototype was for
restrict_link_by_builtin_trusted() instead.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Fixes: 'commit d3bfe84129f6 ("certs: Add a secondary system keyring that
can be added to dynamically")'
Signed-off-by: Yang Li <yang.lee@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 692365d..06c0c3d 100644
--- a/certs/system_keyring.c
+++ b/certs/system_keyring.c
@@ -31,7 +31,7 @@
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.
--
1.8.3.1
\
 
 \ /
  Last update: 2021-05-24 12:20    [W:0.068 / U:0.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site