[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1621851563-30425-1-git-send-email-yang.lee@linux.alibaba.com>
Date:   Mon, 24 May 2021 18:19:23 +0800
From:   Yang Li <yang.lee@...ux.alibaba.com>
To:     dhowells@...hat.com
Cc:     dwmw2@...radead.org, keyrings@...r.kernel.org,
        linux-kernel@...r.kernel.org, Yang Li <yang.lee@...ux.alibaba.com>
Subject: [PATCH] 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.
Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Fixes: 'commit d3bfe84129f6 ("certs: Add a secondary system keyring that
can be added to dynamically")'
Signed-off-by: Yang Li <yang.lee@...ux.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
Powered by blists - more mailing lists
 
