[PATCH] ANDROID: binder: correct the cmd print for BINDER_WORK_RETURN_ERROR

2018-05-09 Thread
In case of the BINDER_WORK_RETURN_ERROR the cmd is no assignment, so it's value will be old value or dirty value, before modifying e->cmd, assign the value of the e->cmd to cmd to ensure the correct print of binder_stat_br. Signed-off-by: songjinshi --- diff --git a/drivers/android/binder.c b/dr

[PATCH v2] ANDROID: binder: correct the cmd print for BINDER_WORK_RETURN_ERROR

2018-05-09 Thread
When to execute binder_stat_br the e->cmd has been modifying as BR_OK instead of the original return error cmd, in fact we want to know the original return error, such as BR_DEAD_REPLY or BR_FAILED_REPLY, etc. instead of always BR_OK, in order to avoid the value of the e->cmd is always BR_OK, s

答复: [PATCH] ANDROID: binder: correct the cmd print for BINDER_WORK_RETURN_ERROR

2018-05-09 Thread
OK,this patch is based on the downstream android kernel4.4 version, not yet include the latest changes, let me update the patch to base on the latest upstream, Tks. 发件人: Todd Kjos 发送时间: 2018年5月10日 2:08 收件人: 宋金时 抄送: Greg Kroah-Hartman; Martijn Coenen