Re: [PATCH 1/1] staging: android: Fix warning cast removes address space of expression

2014-04-25 Thread Greg KH
On Sun, Apr 20, 2014 at 11:10:57AM +0200, Camille Bordignon wrote: > Fix sparse warning "cast removes address space of expression" > Add lost flag "__user" due to cast > > Signed-off-by: Camille Bordignon > --- > diff --git a/drivers/staging/android/binder.c > b/drivers/staging/android/binder.c

Re: [PATCH 1/1] staging: android: Fix warning cast removes address space of expression

2014-04-22 Thread Dan Carpenter
On Sun, Apr 20, 2014 at 11:10:57AM +0200, Camille Bordignon wrote: > Fix sparse warning "cast removes address space of expression" > Add lost flag "__user" due to cast > > Signed-off-by: Camille Bordignon This one is the most perfect version of this patch yet. Unfortunately a couple other peopl

[PATCH 1/1] staging: android: Fix warning cast removes address space of expression

2014-04-20 Thread Camille Bordignon
Fix sparse warning "cast removes address space of expression" Add lost flag "__user" due to cast Signed-off-by: Camille Bordignon --- diff --git a/drivers/staging/android/binder.c b/drivers/staging/android/binder.c index cfe4bc8..952c4ae 100644 --- a/drivers/staging/android/binder.c +++ b/drivers