projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b0b2a8
)
iommu: Mark __iommu_map_sg() as static
author
Baolin Wang
<baolin.wang@linux.alibaba.com>
Fri, 12 Jun 2020 03:39:54 +0000
(11:39 +0800)
committer
Joerg Roedel
<jroedel@suse.de>
Fri, 24 Jul 2020 12:29:00 +0000
(14:29 +0200)
Now __iommu_map_sg() is used only in iommu.c file, so mark it static.
Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Acked-by: Will Deacon <will@kernel.org>
Link:
https://lore.kernel.org/r/ab722e9970739929738066777b8ee7930e32abd5.1591930156.git.baolin.wang@linux.alibaba.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/iommu.c
b/drivers/iommu/iommu.c
index
40947f5
..
15ce5ec
100644
(file)
--- a/
drivers/iommu/iommu.c
+++ b/
drivers/iommu/iommu.c
@@
-2330,9
+2330,9
@@
size_t iommu_unmap_fast(struct iommu_domain *domain,
}
EXPORT_SYMBOL_GPL(iommu_unmap_fast);
-size_t __iommu_map_sg(struct iommu_domain *domain, unsigned long iova,
- struct scatterlist *sg, unsigned int nents, int prot,
- gfp_t gfp)
+s
tatic s
ize_t __iommu_map_sg(struct iommu_domain *domain, unsigned long iova,
+
struct scatterlist *sg, unsigned int nents, int prot,
+
gfp_t gfp)
{
size_t len = 0, mapped = 0;
phys_addr_t start;