2023-06-12 15:23:30

by Christoph Hellwig

[permalink] [raw]
Subject: [PATCH 3/3] swiotlb: unexport is_swiotlb_active

Drivers have no business looking at dma-mapping or swiotlb internals.

Signed-off-by: Christoph Hellwig <[email protected]>
---
kernel/dma/swiotlb.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/kernel/dma/swiotlb.c b/kernel/dma/swiotlb.c
index 775f7bb10ab184..1891faa3a6952e 100644
--- a/kernel/dma/swiotlb.c
+++ b/kernel/dma/swiotlb.c
@@ -932,7 +932,6 @@ bool is_swiotlb_active(struct device *dev)

return mem && mem->nslabs;
}
-EXPORT_SYMBOL_GPL(is_swiotlb_active);

#ifdef CONFIG_DEBUG_FS

--
2.39.2



2023-06-27 07:27:36

by Juergen Gross

[permalink] [raw]
Subject: Re: [PATCH 3/3] swiotlb: unexport is_swiotlb_active

On 12.06.23 16:25, Christoph Hellwig wrote:
> Drivers have no business looking at dma-mapping or swiotlb internals.
>
> Signed-off-by: Christoph Hellwig <[email protected]>

Reviewed-by: Juergen Gross <[email protected]>


Juergen


Attachments:
OpenPGP_0xB0DE9DD628BF132F.asc (3.08 kB)
OpenPGP public key
OpenPGP_signature (505.00 B)
OpenPGP digital signature
Download all attachments