[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190329110258.GB32590@kadam>
Date: Fri, 29 Mar 2019 14:02:58 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Zeng Tao <prime.zeng@...ilicon.com>
Cc: labbott@...hat.com, sumit.semwal@...aro.org,
devel@...verdev.osuosl.org, Todd Kjos <tkjos@...roid.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linaro-mm-sig@...ts.linaro.org,
Arve Hjønnevåg <arve@...roid.com>,
Joel Fernandes <joel@...lfernandes.org>,
Martijn Coenen <maco@...roid.com>,
Christian Brauner <christian@...uner.io>
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.
void ion_free(struct dma_buf *dmabuf)
{
dma_buf_put(dmabuf);
}
regards,
dan carpenter
Powered by blists - more mailing lists