FROMLIST: binder: fix an ret value override
authorXu YiPing <xuyiping@hisilicon.com>
Tue, 5 Sep 2017 17:00:59 +0000 (10:00 -0700)
committerDanny Wood <danwood76@gmail.com>
Tue, 8 Oct 2019 13:50:08 +0000 (14:50 +0100)
commit26e7a1b3e0371d3a78cfa7a0b70dd21211402ca6
treecc4d1f15c4a806513135d0daec11a15af02b61f3
parentc90ac0e20921c055f97bdcadacf3de590db3c058
FROMLIST: binder: fix an ret value override

(from https://patchwork.kernel.org/patch/9939409/)

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

Change-Id: If7bd963ac7e67d135aa949133263aac27bf15d1a
Signed-off-by: Xu YiPing <xuyiping@hislicon.com>
Signed-off-by: Todd Kjos <tkjos@google.com>
drivers/android/binder.c