Skip to contentSkip to conversation

dma-buf: add missing EXPORT_SYMBOL

PATCH In review Christian König 3 participants 3 messages Jun 4, 2021 DMA buffer sharing framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dma-buf: add missing EXPORT_SYMBOL

The newly added dma_resv_reset_shared_max() is used from an inline function, so it can appear in drivers as well.

---
 drivers/dma-buf/dma-resv.c | 1 +
 1 file changed, 1 insertion(+)
drivers/dma-buf/dma-resv.c +1 -0
index 3964df438505..6132ba631991 100644
@@ -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
 
 /**
Signature · 1 line
2.25.1
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Christian König

The newly added dma_resv_reset_shared_max() is used from an inline function, so it can appear in drivers as well.

Quoted 19 lines
---
 drivers/dma-buf/dma-resv.c | 1 +
 1 file changed, 1 insertion(+)
drivers/dma-buf/dma-resv.c +1 -1
index 3964df438505..6132ba631991 100644
@@ -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

Reviewed-by
#2 lore raw
Quoted 30 lines · Alex Deucher
Quoted 5 lines · Christian König

The newly added dma_resv_reset_shared_max() is used from an inline function, so it can appear in drivers as well.

Quoted 19 lines
---
 drivers/dma-buf/dma-resv.c | 1 +
 1 file changed, 1 insertion(+)
drivers/dma-buf/dma-resv.c +1 -1
index 3964df438505..6132ba631991 100644
@@ -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