* [PATCH] dma-buf: add missing EXPORT_SYMBOL
@ 2021-06-04 15:52 Christian König
2021-06-04 15:59 ` Alex Deucher
0 siblings, 1 reply; 3+ messages in thread
From: Christian König @ 2021-06-04 15:52 UTC (permalink / raw)
To: daniel.vetter; +Cc: dri-devel
The newly added dma_resv_reset_shared_max() is used from an inline
function, so it can appear in drivers as well.
Signed-off-by: Christian König <christian.koenig@amd.com>
---
drivers/dma-buf/dma-resv.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/dma-buf/dma-resv.c b/drivers/dma-buf/dma-resv.c
index 3964df438505..6132ba631991 100644
--- a/drivers/dma-buf/dma-resv.c
+++ b/drivers/dma-buf/dma-resv.c
@@ -226,6 +226,7 @@ void dma_resv_reset_shared_max(struct dma_resv *obj)
fence->shared_max = fence->shared_count;
}
}
+EXPORT_SYMBOL(dma_resv_reset_shared_max);
#endif
/**
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] dma-buf: add missing EXPORT_SYMBOL
2021-06-04 15:52 [PATCH] dma-buf: add missing EXPORT_SYMBOL Christian König
@ 2021-06-04 15:59 ` Alex Deucher
2021-06-04 16:14 ` Jason Ekstrand
0 siblings, 1 reply; 3+ messages in thread
From: Alex Deucher @ 2021-06-04 15:59 UTC (permalink / raw)
To: Christian König; +Cc: Daniel Vetter, Maling list - DRI developers
On Fri, Jun 4, 2021 at 11:52 AM Christian König
<ckoenig.leichtzumerken@gmail.com> wrote:
>
> The newly added dma_resv_reset_shared_max() is used from an inline
> function, so it can appear in drivers as well.
>
> Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
> ---
> drivers/dma-buf/dma-resv.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/dma-buf/dma-resv.c b/drivers/dma-buf/dma-resv.c
> index 3964df438505..6132ba631991 100644
> --- a/drivers/dma-buf/dma-resv.c
> +++ b/drivers/dma-buf/dma-resv.c
> @@ -226,6 +226,7 @@ void dma_resv_reset_shared_max(struct dma_resv *obj)
> fence->shared_max = fence->shared_count;
> }
> }
> +EXPORT_SYMBOL(dma_resv_reset_shared_max);
> #endif
>
> /**
> --
> 2.25.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dma-buf: add missing EXPORT_SYMBOL
2021-06-04 15:59 ` Alex Deucher
@ 2021-06-04 16:14 ` Jason Ekstrand
0 siblings, 0 replies; 3+ messages in thread
From: Jason Ekstrand @ 2021-06-04 16:14 UTC (permalink / raw)
To: Alex Deucher, Ville Syrjälä
Cc: Christian König, Maling list - DRI developers, Daniel Vetter
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
On Fri, Jun 4, 2021 at 10:59 AM Alex Deucher <alexdeucher@gmail.com> wrote:
>
> On Fri, Jun 4, 2021 at 11:52 AM Christian König
> <ckoenig.leichtzumerken@gmail.com> wrote:
> >
> > The newly added dma_resv_reset_shared_max() is used from an inline
> > function, so it can appear in drivers as well.
> >
> > Signed-off-by: Christian König <christian.koenig@amd.com>
>
> Acked-by: Alex Deucher <alexander.deucher@amd.com>
>
> > ---
> > drivers/dma-buf/dma-resv.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/dma-buf/dma-resv.c b/drivers/dma-buf/dma-resv.c
> > index 3964df438505..6132ba631991 100644
> > --- a/drivers/dma-buf/dma-resv.c
> > +++ b/drivers/dma-buf/dma-resv.c
> > @@ -226,6 +226,7 @@ void dma_resv_reset_shared_max(struct dma_resv *obj)
> > fence->shared_max = fence->shared_count;
> > }
> > }
> > +EXPORT_SYMBOL(dma_resv_reset_shared_max);
> > #endif
> >
> > /**
> > --
> > 2.25.1
> >
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-06-04 16:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-04 15:52 [PATCH] dma-buf: add missing EXPORT_SYMBOL Christian König
2021-06-04 15:59 ` Alex Deucher
2021-06-04 16:14 ` Jason Ekstrand
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.