On 2/27/26 14:15, Maxime Ripard wrote: > The CMA dma-buf heap uses the cma_get_name() function to get the name of > the heap instance it's going to create. > > However, this function is not exported. Since we want to turn the CMA > heap into a module, let's export it. > > Reviewed-by: T.J. Mercier <[email protected]> > Signed-off-by: Maxime Ripard <[email protected]> > --- > mm/cma.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/mm/cma.c b/mm/cma.c > index > be142b473f3bd41b9c7d8ba4397f018f6993d962..550effb9c4e01cc488b5744fe61d55a5b70a6d6c > 100644 > --- a/mm/cma.c > +++ b/mm/cma.c > @@ -50,10 +50,11 @@ unsigned long cma_get_size(const struct cma *cma) > > const char *cma_get_name(const struct cma *cma) > { > return cma->name; > } > +EXPORT_SYMBOL_GPL(cma_get_name);
No real reason to not squash this patch into #5, right? -- Cheers, David
