[PATCH v4 07/10] certs/blacklist: fix kernel doc interface issue

Mickaël Salaün mic at digikod.net
Thu Jan 21 15:55:10 UTC 2021


From: Alex Shi <alex.shi at linux.alibaba.com>

certs/blacklist.c:84: warning: Function parameter or member 'hash' not
described in 'mark_hash_blacklisted'

Cc: David Woodhouse <dwmw2 at infradead.org>
Cc: keyrings at vger.kernel.org
Cc: linux-kernel at vger.kernel.org
Signed-off-by: Alex Shi <alex.shi at linux.alibaba.com>
Signed-off-by: David Howells <dhowells at redhat.com>
Reviewed-by: Ben Boeckel <mathstuf at gmail.com>
Signed-off-by: Mickaël Salaün <mic at linux.microsoft.com>
Reviewed-by: Jarkko Sakkinen <jarkko at kernel.org>
---

Changes since v3:
* Add Reviewed-by Jarkko Sakkinen.

Changes since v2:
* Cherry-pick patch from
  https://lore.kernel.org/lkml/2659836.1607940186@warthog.procyon.org.uk/
  to avoid future merge conflicts.
* Rearrange Signed-off-by and Reviewed-by order.
---
 certs/blacklist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/certs/blacklist.c b/certs/blacklist.c
index 069050884bd2..334ab7b964bc 100644
--- a/certs/blacklist.c
+++ b/certs/blacklist.c
@@ -105,7 +105,7 @@ static struct key_type key_type_blacklist = {
 
 /**
  * mark_hash_blacklisted - Add a hash to the system blacklist
- * @hash - The hash as a hex string with a type prefix (eg. "tbs:23aa429783")
+ * @hash: The hash as a hex string with a type prefix (eg. "tbs:23aa429783")
  */
 int mark_hash_blacklisted(const char *hash)
 {
-- 
2.30.0



More information about the Linux-security-module-archive mailing list