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>
Fri, 8 Nov 2019 12:03:12 +0000 (12:03 +0000)
commit5a7ddaf1c48b6df9b93908e68fb35cdd5a7672db
treecc4d1f15c4a806513135d0daec11a15af02b61f3
parent41fad392ab14a2935cc4d6253e434309c273929b
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