From: Randy Dunlap Date: Sun, 8 Jan 2023 02:12:43 +0000 (-0800) Subject: userns: fix a struct's kernel-doc notation X-Git-Tag: v6.3-rc1~112^2~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e227db4d4f125efb1cae2f1337da85bc10b3185e;p=thirdparty%2Fkernel%2Flinux.git userns: fix a struct's kernel-doc notation Use the 'struct' keyword for a struct's kernel-doc notation to avoid a kernel-doc warning: kernel/user_namespace.c:232: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * idmap_key struct holds the information necessary to find an idmapping in a Link: https://lkml.kernel.org/r/20230108021243.16683-1-rdunlap@infradead.org Signed-off-by: Randy Dunlap Cc: Eric Biederman Signed-off-by: Andrew Morton --- diff --git a/kernel/user_namespace.c b/kernel/user_namespace.c index 54211dbd516c5..1d8e47bed3f11 100644 --- a/kernel/user_namespace.c +++ b/kernel/user_namespace.c @@ -229,7 +229,7 @@ void __put_user_ns(struct user_namespace *ns) EXPORT_SYMBOL(__put_user_ns); /** - * idmap_key struct holds the information necessary to find an idmapping in a + * struct idmap_key - holds the information necessary to find an idmapping in a * sorted idmap array. It is passed to cmp_map_id() as first argument. */ struct idmap_key {