Skip to contentSkip to conversation

certs: Fix kernel-doc

PATCH New Yang Li 1 participant 1 message May 24, 2021

Subsystems (2)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 certs: Fix kernel-doc

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.

Fixes 'commit d3bfe84129f6 ("certs: Add a secondary system keyring that

can be added to dynamically")'

---
 certs/system_keyring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
certs/system_keyring.c +1 -1
index 692365d..06c0c3d 100644
@@ -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.
Signature · 1 line
1.8.3.1