Re: [RFC PATCH 1/5] base: dma-mapping: Export commonly used symbols

From: Christoph Hellwig
Date: Wed Jul 05 2017 - 11:17:57 EST

Please use EXPORT_SYMBOL_GPL for any of these exports, as they are
internal linux implementration details by any definition of it.

On Wed, Jul 05, 2017 at 04:12:11PM +0900, Tomasz Figa wrote:
> There is nothing wrong in having a loadable module implementing DMA API,
> for example to be used for sub-devices registered by the module.
> However, most of the functions from dma-mapping do not have their
> symbols exported, making it impossible to use them from loadable modules.

I'd like to see the patches for this use case as well. We don't
generally export symbols without seeing the users.