Re: [PATCH] staging/vc04_services: Use __user annotation for user-space pointers

2018-08-03 Thread Stefan Wahren
Hi Carlos, > Carlos Maiolino hat am 30. Juli 2018 um 11:57 > geschrieben: > > > On Mon, Jul 30, 2018 at 11:49 AM, Stefan Wahren > wrote: > > Am 30.07.2018 um 11:43 schrieb Carlos Maiolino: > >> On Mon, Jul 30, 2018 at 11:34 AM, Stefan Wahren > >> wrote: > >>> i think easiest the way would

Re: [PATCH] staging/vc04_services: Use __user annotation for user-space pointers

2018-07-30 Thread Carlos Maiolino
On Mon, Jul 30, 2018 at 11:49 AM, Stefan Wahren wrote: > Am 30.07.2018 um 11:43 schrieb Carlos Maiolino: >> On Mon, Jul 30, 2018 at 11:34 AM, Stefan Wahren >> wrote: >>> i think easiest the way would be to get a recent Raspbian Lite ( >>> https://www.raspberrypi.org/downloads/raspbian/ ), >>>

Re: [PATCH] staging/vc04_services: Use __user annotation for user-space pointers

2018-07-30 Thread Stefan Wahren
Am 30.07.2018 um 11:43 schrieb Carlos Maiolino: > On Mon, Jul 30, 2018 at 11:34 AM, Stefan Wahren > wrote: >> i think easiest the way would be to get a recent Raspbian Lite ( >> https://www.raspberrypi.org/downloads/raspbian/ ), >> build the kernel with bcm2835_defconfig, modify config.txt to

Re: [PATCH] staging/vc04_services: Use __user annotation for user-space pointers

2018-07-30 Thread Carlos Maiolino
On Mon, Jul 30, 2018 at 11:34 AM, Stefan Wahren wrote: > Hi Carlos, > > Am 30.07.2018 um 11:25 schrieb Carlos Maiolino: >> >> On Mon, Jul 30, 2018 at 11:13 AM, Stefan Wahren >> wrote: >>> >>> Hi Carlos, >>> >>> >>> Am 30.07.2018 um 11:08 schrieb Carlos Maiolino: On Mon, Jul 30, 2018 at

Re: [PATCH] staging/vc04_services: Use __user annotation for user-space pointers

2018-07-30 Thread Stefan Wahren
Hi Carlos, Am 30.07.2018 um 11:25 schrieb Carlos Maiolino: On Mon, Jul 30, 2018 at 11:13 AM, Stefan Wahren wrote: Hi Carlos, Am 30.07.2018 um 11:08 schrieb Carlos Maiolino: On Mon, Jul 30, 2018 at 10:58 AM, Greg KH wrote: On Tue, Jul 24, 2018 at 10:32:17AM +0200, Carlos Maiolino wrote:

Re: [PATCH] staging/vc04_services: Use __user annotation for user-space pointers

2018-07-30 Thread Carlos Maiolino
On Mon, Jul 30, 2018 at 11:13 AM, Stefan Wahren wrote: > Hi Carlos, > > > Am 30.07.2018 um 11:08 schrieb Carlos Maiolino: >> >> On Mon, Jul 30, 2018 at 10:58 AM, Greg KH wrote: >>> >>> On Tue, Jul 24, 2018 at 10:32:17AM +0200, Carlos Maiolino wrote: Fix several sparse warnings

Re: [PATCH] staging/vc04_services: Use __user annotation for user-space pointers

2018-07-30 Thread Stefan Wahren
Hi Carlos, Am 30.07.2018 um 11:08 schrieb Carlos Maiolino: On Mon, Jul 30, 2018 at 10:58 AM, Greg KH wrote: On Tue, Jul 24, 2018 at 10:32:17AM +0200, Carlos Maiolino wrote: Fix several sparse warnings regarding different address space assignments, like example below, by properly annotating

Re: [PATCH] staging/vc04_services: Use __user annotation for user-space pointers

2018-07-30 Thread Greg KH
On Mon, Jul 30, 2018 at 11:08:06AM +0200, Carlos Maiolino wrote: > On Mon, Jul 30, 2018 at 10:58 AM, Greg KH wrote: > > On Tue, Jul 24, 2018 at 10:32:17AM +0200, Carlos Maiolino wrote: > >> Fix several sparse warnings regarding different address space > >> assignments, like example below, by

Re: [PATCH] staging/vc04_services: Use __user annotation for user-space pointers

2018-07-30 Thread Carlos Maiolino
On Mon, Jul 30, 2018 at 10:58 AM, Greg KH wrote: > On Tue, Jul 24, 2018 at 10:32:17AM +0200, Carlos Maiolino wrote: >> Fix several sparse warnings regarding different address space >> assignments, like example below, by properly annotating pointers >> expected to carry user space addresses. >> >>

Re: [PATCH] staging/vc04_services: Use __user annotation for user-space pointers

2018-07-30 Thread Greg KH
On Tue, Jul 24, 2018 at 10:32:17AM +0200, Carlos Maiolino wrote: > Fix several sparse warnings regarding different address space > assignments, like example below, by properly annotating pointers > expected to carry user space addresses. > > warning: incorrect type in argument 1 (different

[PATCH] staging/vc04_services: Use __user annotation for user-space pointers

2018-07-24 Thread Carlos Maiolino
Fix several sparse warnings regarding different address space assignments, like example below, by properly annotating pointers expected to carry user space addresses. warning: incorrect type in argument 1 (different address spaces) Signed-off-by: Carlos Maiolino --- I'm not subscribed to the