Commit 16dc6144 authored by Carlos Llamas's avatar Carlos Llamas Committed by Rick Yiu
Browse files

FROMGIT: binder: fix comment on binder_alloc_new_buf() return value



Update the comments of binder_alloc_new_buf() to reflect that the return
value of the function is now ERR_PTR(-errno) on failure.

No functional changes in this patch.

Cc: stable@vger.kernel.org
Fixes: 57ada2fb ("binder: add log information for binder transaction failures")
Reviewed-by: default avatarAlice Ryhl <aliceryhl@google.com>
Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
Link: https://lore.kernel.org/r/20231201172212.1813387-8-cmllamas@google.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 254650075
Bug: 320576997
(cherry picked from commit e1090371
 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git


 char-misc-next)
Change-Id: If382b3c0fb4fdd52e37c7bb44e58f1f9f28ae7b4
Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
parent 5a5d96c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment