binder: change error code from postive to negative in binder_transaction
authorZhang Qilong <zhangqilong3@huawei.com>
Mon, 26 Oct 2020 11:03:14 +0000 (19:03 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Nov 2020 17:42:21 +0000 (18:42 +0100)
commit88f6c77927e4aee04e0193fd94e13a55753a72b0
treedc68a3e5cd77fede5ab7be3e9f6b7df50198cb3e
parent6c20032c22d9823f35cd673b7f69ce73a49582b0
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: Martijn Coenen <maco@android.com>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Link: https://lore.kernel.org/r/20201026110314.135481-1-zhangqilong3@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c