Re: [PATCH] staging: ion: create one device entry per heap

2017-09-19 Thread Tomas Winkler
On Tue, Sep 19, 2017 at 1:07 PM, Benjamin Gaignard wrote: > 2017-09-19 11:40 GMT+02:00 Dan Carpenter : >> On Mon, Sep 18, 2017 at 04:58:46PM +0200, Benjamin Gaignard wrote: >>> -static int validate_ioctl_arg(unsigned int cmd, union ion_ioctl_arg *arg) >>> +static int validate_ioctl_arg(struct file

Re: [PATCH v12 1/2] kernel.h: add u64_to_user_ptr()

2016-07-11 Thread Tomas Winkler
> > > Though I normally prefer static inline functions, I see the benefits of > > > using the macro form here. > > An inline could still work > static inline void __user *u64_to_user_ptr(u64 address) > { > return (void __user *)(uintptr_t)address; > } > if th

backporting stable fixes to staging after driver graduation

2014-05-20 Thread Tomas Winkler
I'd like to ask what is the policy for back porting fixes for drivers that already graduated from staging but the fix is needed in kernel version where it is still in the staging. Thanks ___ devel mailing list de...@linuxdriverproject.org http://driverd

[PATCH V2] staging: ion: replace ion_phys_addr_t with phys_addr_t

2014-02-16 Thread Tomas Winkler
Looks like phys_addr_t's are fully plumbed in the kernel. Signed-off-by: Tomas Winkler --- V2: remove one more comment regarding ion_phys_addr_t drivers/staging/android/ion/ion.c | 2 +- drivers/staging/android/ion/ion.h | 12 +++- drivers/staging/an

[PATCH] staging: ion: replace ion_phys_addr_t with phys_addr_t

2014-02-16 Thread Tomas Winkler
Looks like phys_addr_t's are fully plumbed in the kernel. Signed-off-by: Tomas Winkler --- drivers/staging/android/ion/ion.c | 2 +- drivers/staging/android/ion/ion.h | 12 +++- drivers/staging/android/ion/ion_carveout_heap.c | 14 +++--- dr

[staging-next] ion: dummy driver: use ARRAY_SIZE for nr of heaps

2014-01-22 Thread Tomas Winkler
use ARRAY_SIZE to count number of heaps in static array Signed-off-by: Tomas Winkler --- drivers/staging/android/ion/ion_dummy_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/android/ion/ion_dummy_driver.c b/drivers/staging/android/ion