OSDN Git Service

ANDROID: binder: init desired_prio.sched_policy before use it
authorGanesh Mahendran <opensource.ganesh@gmail.com>
Wed, 27 Sep 2017 07:12:25 +0000 (15:12 +0800)
committerMartijn Coenen <maco@google.com>
Thu, 12 Oct 2017 07:25:06 +0000 (07:25 +0000)
commit35091a1d8b61ccc35eba80850f20deed1f543928
tree21f3720bb8bfe5096a84f80e53a9d759b8fbc7cf
parentc6a272aa6dbdc3a453c4e8c8386db6f218cf161c
ANDROID: binder: init desired_prio.sched_policy before use it

In function binder_transaction_priority(), we access
desired_prio before initialzing it.

This patch fix this.

Change-Id: I9d14d50f9a128010476a65b52631630899a44633
Signed-off-by: Ganesh Mahendran <opensource.ganesh@gmail.com>
drivers/android/binder.c