Commit c383610d authored by Zhang Qilong's avatar Zhang Qilong Committed by Todd Kjos
Browse files

UPSTREAM: binder: change error code from postive to negative in binder_transaction



Depending on the context, the error return value
here (extra_buffers_size < added_size) should be
negative.

Acked-by: default avatarMartijn Coenen <maco@android.com>
Acked-by: default avatarChristian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: default avatarZhang Qilong <zhangqilong3@huawei.com>
Link: https://lore.kernel.org/r/20201026110314.135481-1-zhangqilong3@huawei.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 88f6c779)
Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
Change-Id: If90760a8469f33bb121f0f71098b9415f6d4d783
parent d4d78c72
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment