]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
binder: fix an ret value override
authorXu YiPing <xuyiping@hisilicon.com>
Tue, 5 Sep 2017 17:25:38 +0000 (10:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Sep 2017 14:06:00 +0000 (16:06 +0200)
commit52b81611f209da5f49019260522633e994e241b5
tree6e184c6958790f5949792b082488b6cfd567b754
parent1c363eaece2752c5f8b1b874cb4ae435de06aa66
binder: fix an ret value override

commit 372e3147df70 ("binder: guarantee txn complete / errors delivered
in-order") incorrectly defined a local ret value.  This ret value will
be invalid when out of the if block

Fixes: 372e3147df70 ("binder: refactor binder ref inc/dec for thread safety")
Signed-off-by: Xu YiPing <xuyiping@hislicon.com>
Signed-off-by: Todd Kjos <tkjos@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c