Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

android: binder: add missing return value documentation for binder_apply_fd_fixups()

The kernel-doc for binder_apply_fd_fixups() was missing a description of
its return value, which triggers a kernel-doc warning.

Add the missing "Return:" entry to doc that the function returns 0 on
success or a negative errno on failure.

Signed-off-by: Sunday Adelodun <adelodunolaoluwa@yahoo.com>
Link: https://patch.msgid.link/20251121111203.21800-2-adelodunolaoluwa@yahoo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Sunday Adelodun and committed by
Greg Kroah-Hartman
1e9a37d3 77198581

+2
+2
drivers/android/binder.c
··· 4669 4669 * 4670 4670 * If we fail to allocate an fd, skip the install and release 4671 4671 * any fds that have already been allocated. 4672 + * 4673 + * Return: 0 on success, a negative errno code on failure. 4672 4674 */ 4673 4675 static int binder_apply_fd_fixups(struct binder_proc *proc, 4674 4676 struct binder_transaction *t)