]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
landlock: Improve kernel-doc "Return:" section consistency
authorMickaël Salaün <mic@digikod.net>
Wed, 4 Mar 2026 19:31:26 +0000 (20:31 +0100)
committerMickaël Salaün <mic@digikod.net>
Tue, 7 Apr 2026 16:51:04 +0000 (18:51 +0200)
commitfa20aeb95d72da9dd78a3c9b24e996b5d9219888
tree26041a112d101da0fc2737e9ab130d56fab2f61d
parente89dea254dce44c629d98639c05fe5ca7add7241
landlock: Improve kernel-doc "Return:" section consistency

The canonical kernel-doc form is "Return:" (singular, without trailing
"s").  Normalize all existing "Returns:" occurrences across the Landlock
source tree to the canonical form.

Also fix capitalization for consistency.  Balance descriptions to
describe all possible returned values.

Consolidate bullet-point return descriptions into inline text for
functions with simple two-value or three-value returns for consistency.

Cc: Günther Noack <gnoack@google.com>
Reviewed-by: Günther Noack <gnoack3000@gmail.com>
Link: https://lore.kernel.org/r/20260304193134.250495-3-mic@digikod.net
Signed-off-by: Mickaël Salaün <mic@digikod.net>
security/landlock/cred.h
security/landlock/domain.c
security/landlock/fs.c
security/landlock/id.c
security/landlock/ruleset.c
security/landlock/ruleset.h
security/landlock/task.c
security/landlock/tsync.c