Commit 6775ae90 authored by Stefano Garzarella's avatar Stefano Garzarella Committed by Will Deacon
Browse files

iommu/iova: fix 'domain' typos



Replace misspelled 'doamin' with 'domain' in several comments.

Signed-off-by: default avatarStefano Garzarella <sgarzare@redhat.com>
Link: https://lore.kernel.org/r/20201222164232.88795-1-sgarzare@redhat.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 5c8fe583
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -358,7 +358,7 @@ static void private_free_iova(struct iova_domain *iovad, struct iova *iova)
 * @iovad: - iova domain in question.
 * @iovad: - iova domain in question.
 * @pfn: - page frame number
 * @pfn: - page frame number
 * This function finds and returns an iova belonging to the
 * This function finds and returns an iova belonging to the
 * given doamin which matches the given pfn.
 * given domain which matches the given pfn.
 */
 */
struct iova *find_iova(struct iova_domain *iovad, unsigned long pfn)
struct iova *find_iova(struct iova_domain *iovad, unsigned long pfn)
{
{
@@ -601,7 +601,7 @@ void queue_iova(struct iova_domain *iovad,
EXPORT_SYMBOL_GPL(queue_iova);
EXPORT_SYMBOL_GPL(queue_iova);


/**
/**
 * put_iova_domain - destroys the iova doamin
 * put_iova_domain - destroys the iova domain
 * @iovad: - iova domain in question.
 * @iovad: - iova domain in question.
 * All the iova's in that domain are destroyed.
 * All the iova's in that domain are destroyed.
 */
 */
@@ -712,9 +712,9 @@ EXPORT_SYMBOL_GPL(reserve_iova);


/**
/**
 * copy_reserved_iova - copies the reserved between domains
 * copy_reserved_iova - copies the reserved between domains
 * @from: - source doamin from where to copy
 * @from: - source domain from where to copy
 * @to: - destination domin where to copy
 * @to: - destination domin where to copy
 * This function copies reserved iova's from one doamin to
 * This function copies reserved iova's from one domain to
 * other.
 * other.
 */
 */
void
void