Skip to content

Commit 1e9a37d

Browse files
sadelodungregkh
authored andcommitted
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>
1 parent 7719858 commit 1e9a37d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/android/binder.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4669,6 +4669,8 @@ static int binder_wait_for_work(struct binder_thread *thread,
46694669
*
46704670
* If we fail to allocate an fd, skip the install and release
46714671
* any fds that have already been allocated.
4672+
*
4673+
* Return: 0 on success, a negative errno code on failure.
46724674
*/
46734675
static int binder_apply_fd_fixups(struct binder_proc *proc,
46744676
struct binder_transaction *t)

0 commit comments

Comments
 (0)