]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
binder: fix comment on binder_alloc_new_buf() return value
authorCarlos Llamas <cmllamas@google.com>
Fri, 1 Dec 2023 17:21:36 +0000 (17:21 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Jan 2024 10:50:10 +0000 (11:50 +0100)
commit08af2ceb83d5b31eeff92759c2c9b15a37617998
tree3176ca89eed5ef3cd1306e31340bf423475cde4d
parent35a3e8ceaf60657a7ebb59be8364405c71f3d623
binder: fix comment on binder_alloc_new_buf() return value

commit e1090371e02b601cbfcea175c2a6cc7c955fa830 upstream.

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: 57ada2fb2250 ("binder: add log information for binder transaction failures")
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Carlos Llamas <cmllamas@google.com>
Link: https://lore.kernel.org/r/20231201172212.1813387-8-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder_alloc.c