]> git.ipfire.org Git - thirdparty/linux.git/commit
cred: fix kernel-doc warnings in cred.h
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 2 Mar 2026 00:51:54 +0000 (16:51 -0800)
committerPaul Moore <paul@paul-moore.com>
Mon, 2 Mar 2026 22:08:05 +0000 (17:08 -0500)
commitfe3c03b84ae69f34992a5e72cbb8384b9ebad738
treee8bced66081b7ef8c8da2e798ebc04694e2655af
parent6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
cred: fix kernel-doc warnings in cred.h

Use the correct function parameter names, function names, or kernel-doc
format, and add function return comment sections to avoid kernel-doc
warnings:

Warning: include/linux/cred.h:43 function parameter 'gi' not described
 in 'get_group_info'
Warning: include/linux/cred.h:43 No description found for return value
 of 'get_group_info'
Warning: include/linux/cred.h:213 No description found for return value
 of 'get_cred_many'
Warning: include/linux/cred.h:260 function parameter '_cred' not described
 in 'put_cred_many'
Warning: include/linux/cred.h:260 expecting prototype for put_cred().
 Prototype was for put_cred_many() instead

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
[PM: subject tweak]
Signed-off-by: Paul Moore <paul@paul-moore.com>
include/linux/cred.h