aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/iova.c
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2012-07-21 13:21:32 -0400
committerJiri Kosina <jkosina@suse.cz>2012-07-24 06:58:49 -0400
commit07db04098d1e2f238959c858a0d63243157695f9 (patch)
tree2e4e77748a73d7f46b02c687f0828ef9aeb3fe5a /drivers/iommu/iova.c
parentff0c26424c1d993d8d1e04f72f1d428e935798da (diff)
iommu: Fix typo in iommu
Correct spelling typo in debug messages and comments in drivers/iommu. Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/iommu/iova.c')
-rw-r--r--drivers/iommu/iova.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/iommu/iova.c b/drivers/iommu/iova.c
index c5c274ab5c5a..67da6cff74e8 100644
--- a/drivers/iommu/iova.c
+++ b/drivers/iommu/iova.c
@@ -198,10 +198,10 @@ iova_insert_rbtree(struct rb_root *root, struct iova *iova)
198 198
199/** 199/**
200 * alloc_iova - allocates an iova 200 * alloc_iova - allocates an iova
201 * @iovad - iova domain in question 201 * @iovad: - iova domain in question
202 * @size - size of page frames to allocate 202 * @size: - size of page frames to allocate
203 * @limit_pfn - max limit address 203 * @limit_pfn: - max limit address
204 * @size_aligned - set if size_aligned address range is required 204 * @size_aligned: - set if size_aligned address range is required
205 * This function allocates an iova in the range limit_pfn to IOVA_START_PFN 205 * This function allocates an iova in the range limit_pfn to IOVA_START_PFN
206 * looking from limit_pfn instead from IOVA_START_PFN. If the size_aligned 206 * looking from limit_pfn instead from IOVA_START_PFN. If the size_aligned
207 * flag is set then the allocated address iova->pfn_lo will be naturally 207 * flag is set then the allocated address iova->pfn_lo will be naturally
@@ -238,8 +238,8 @@ alloc_iova(struct iova_domain *iovad, unsigned long size,
238 238
239/** 239/**
240 * find_iova - find's an iova for a given pfn 240 * find_iova - find's an iova for a given pfn
241 * @iovad - iova domain in question. 241 * @iovad: - iova domain in question.
242 * pfn - page frame number 242 * @pfn: - page frame number
243 * This function finds and returns an iova belonging to the 243 * This function finds and returns an iova belonging to the
244 * given doamin which matches the given pfn. 244 * given doamin which matches the given pfn.
245 */ 245 */
@@ -260,7 +260,7 @@ struct iova *find_iova(struct iova_domain *iovad, unsigned long pfn)
260 /* We are not holding the lock while this iova 260 /* We are not holding the lock while this iova
261 * is referenced by the caller as the same thread 261 * is referenced by the caller as the same thread
262 * which called this function also calls __free_iova() 262 * which called this function also calls __free_iova()
263 * and it is by desing that only one thread can possibly 263 * and it is by design that only one thread can possibly
264 * reference a particular iova and hence no conflict. 264 * reference a particular iova and hence no conflict.
265 */ 265 */
266 return iova; 266 return iova;