summaryrefslogtreecommitdiff
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorTodd Kjos <tkjos@android.com>2017-08-08 15:48:36 -0700
committerGreg Kroah-Hartman <gregkh@google.com>2020-11-15 15:31:07 +0000
commit2db1fabeccc1151c48a9b2d075b3985f74e7c0cf (patch)
tree3b2be6a79b57a5305648e0f88703c35f69eb257d /kernel/fork.c
parent84b1f69b83c7509a57d2de9efc83f7f0338952cd (diff)
UPSTREAM: binder: fix incorrect cmd to binder_stat_br
commit 26549d177410 ("binder: guarantee txn complete / errors delivered in-order") passed the locally declared and undefined cmd to binder_stat_br() which results in a bogus cmd field in a trace event and BR stats are incremented incorrectly. Change to use e->cmd which has been initialized. Signed-off-by: Todd Kjos <tkjos@google.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Fixes: 26549d177410 ("binder: guarantee txn complete / errors delivered in-order") Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 4f9adc8f91ba996374cd9487ecd1180fa99b9438) Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I38c8ffe351bf83aa95f61312a1f1fbe5ebde9907 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions