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

Commit 9b4c9f3e authored by Neeti Desai's avatar Neeti Desai Committed by David Ng
Browse files

Revert "drivers: binder: Fix risky coding style in binder_thread_write()"



This reverts commit 20890207.

Change-Id: Ifd93edb70021a55172f1965ef926aabd4b945aee
Signed-off-by: default avatarNeeti Desai <neetid@codeaurora.org>
Signed-off-by: default avatarAjay Dudani <adudani@codeaurora.org>
parent 22e2e8a7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1801,7 +1801,7 @@ int binder_thread_write(struct binder_proc *proc, struct binder_thread *thread,
		case BC_INCREFS_DONE:
		case BC_ACQUIRE_DONE: {
			void __user *node_ptr;
			void __user *cookie;
			void *cookie;
			struct binder_node *node;

			if (get_user(node_ptr, (void * __user *)ptr))