>-----Original Message-----
>From: Dan Carpenter [mailto:[email protected]]
>Sent: Friday, March 29, 2019 7:03 PM
>To: Zengtao (B) <[email protected]>
>Cc: [email protected]; [email protected];
>[email protected]; Todd Kjos <[email protected]>; Greg
>Kroah-Hartman <[email protected]>;
>[email protected]; [email protected];
>[email protected]; Arve Hjønnevåg <[email protected]>;
>Joel Fernandes <[email protected]>; Martijn Coenen
><[email protected]>; Christian Brauner <[email protected]>
>Subject: Re: [PATCH] staging: android: ion: refactory ion_alloc for kernel
>driver use
>
>If we're going to export ion_alloc() for other drivers to use then let's make
>an ion_free() helper function as well.
>
Good catch, thanks.
Regards
Zengtao
>void ion_free(struct dma_buf *dmabuf)
>{
> dma_buf_put(dmabuf);
>}
>
>regards,
>dan carpenter
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel