Re: [PATCH v1 1/9] staging: android: binder: Move some of the logic into subfunction

2013-12-05 Thread Serban Constantinescu
On 05/12/13 08:18, Dan Carpenter wrote: On Wed, Dec 04, 2013 at 06:09:33PM +, Serban Constantinescu wrote: +static void bc_increfs_done(struct binder_proc *proc, + struct binder_thread *thread, uint32_t cmd, + void __user *node_ptr, void __user *cookie) +{ +

Re: [PATCH v1 1/9] staging: android: binder: Move some of the logic into subfunction

2013-12-05 Thread Serban Constantinescu
On 05/12/13 08:00, Dan Carpenter wrote: On Wed, Dec 04, 2013 at 06:09:33PM +, Serban Constantinescu wrote: +static void bc_dead_binder_done(struct binder_proc *proc, + struct binder_thread *thread, void __user *cookie) +{ + struct binder_work *w; + struct binder

Re: [PATCH v1 1/9] staging: android: binder: Move some of the logic into subfunction

2013-12-05 Thread Greg KH
On Thu, Dec 05, 2013 at 11:18:22AM +0300, Dan Carpenter wrote: > On Wed, Dec 04, 2013 at 06:09:33PM +, Serban Constantinescu wrote: > > +static void bc_increfs_done(struct binder_proc *proc, > > + struct binder_thread *thread, uint32_t cmd, > > + void __user *node_ptr, void

Re: [PATCH v1 1/9] staging: android: binder: Move some of the logic into subfunction

2013-12-05 Thread Dan Carpenter
On Wed, Dec 04, 2013 at 06:09:33PM +, Serban Constantinescu wrote: > +static void bc_increfs_done(struct binder_proc *proc, > + struct binder_thread *thread, uint32_t cmd, > + void __user *node_ptr, void __user *cookie) > +{ > + struct binder_node *node; > + > +

Re: [PATCH v1 1/9] staging: android: binder: Move some of the logic into subfunction

2013-12-05 Thread Dan Carpenter
On Wed, Dec 04, 2013 at 06:09:33PM +, Serban Constantinescu wrote: > +static void bc_dead_binder_done(struct binder_proc *proc, > + struct binder_thread *thread, void __user *cookie) > +{ > + struct binder_work *w; > + struct binder_ref_death *death = NULL; > + > + l

[PATCH v1 1/9] staging: android: binder: Move some of the logic into subfunction

2013-12-04 Thread Serban Constantinescu
This patch moves some of the logic for binder_thread_write() into subfunctions. This way we can share more code with the binder compat layer. Signed-off-by: Serban Constantinescu --- drivers/staging/android/binder.c | 403 +- 1 file changed, 220 insertions(+)