(ret)
> > - goto err;
> > }
> >
> > buffer->dev = dev;
> > @@ -261,9 +258,8 @@ static struct ion_buffer *ion_buffer_create(struct
> > ion_heap *heap,
> >
> > err:
> > heap->ops->unmap_dma(heap, buffer);
> > - heap->ops->free(buffer);
> > err1:
> > - vfree(buffer->pages);
> > + heap->ops->free(buffer);
> > err2:
> > kfree(buffer);
> > return ERR_PTR(ret);
> >
Suggested-by: Pintu Kumar
Reviewed-by: Pintu Kumar
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
d.com" ;
> "de...@driverdev.osuosl.org" ;
> "linux-ker...@vger.kernel.org" ; IQBAL SHAREEF
> ; "pintu_agar...@yahoo.com" ;
> Vishnu Pratap Singh ; "c...@samsung.com"
>
> Sent: Monday, 6 October 2014 11:01 PM
> Subject: Re: Re: [PATCH 1/1
Hi,
>
> From: Laura Abbott
>To: Heesub Shin ; Pintu Kumar ;
>a...@linux-foundation.org; gre...@linuxfoundation.org; john.stu...@linaro.org;
>rebe...@android.com; ccr...@android.com; de...@driverdev.osuosl.org;
>linux-ker...@vger.kern
hard-coded value with PAGE_ALLOC_COSTLY_ORDER
which is defined as 3.
This will help mapping the higher order request in system heap with
the actual allocation request.
Signed-off-by: Pintu Kumar
---
drivers/staging/android/ion/ion_system_heap.c |4 ++--
1 file changed, 2 insertions(+), 2