Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit aeef5918 authored by Todd Kjos's avatar Todd Kjos Committed by Alexander Grund
Browse files

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: default avatarTodd Kjos <tkjos@google.com>
Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Fixes: 26549d177410 ("binder: guarantee txn complete / errors delivered in-order")
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 4f9adc8f91ba996374cd9487ecd1180fa99b9438)
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Change-Id: I38c8ffe351bf83aa95f61312a1f1fbe5ebde9907
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent ae1305b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment