linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] certs: Fix kernel-doc
@ 2021-05-24 10:19 Yang Li
  0 siblings, 0 replies; only message in thread
From: Yang Li @ 2021-05-24 10:19 UTC (permalink / raw)
  To: dhowells; +Cc: dwmw2, keyrings, linux-kernel, Yang Li

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-24 10:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-24 10:19 [PATCH] certs: Fix kernel-doc Yang Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).