linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Zhen Lei <thunder.leizhen@huawei.com>
To: Will Deacon <will@kernel.org>,
	Robin Murphy <robin.murphy@arm.com>,
	"Joerg Roedel" <joro@8bytes.org>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
	iommu <iommu@lists.linux-foundation.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Yong Wu <yong.wu@mediatek.com>,
	"Matthias Brugger" <matthias.bgg@gmail.com>,
	linux-mediatek <linux-mediatek@lists.infradead.org>,
	Maxime Ripard <mripard@kernel.org>, Chen-Yu Tsai <wens@csie.org>,
	Jernej Skrabec <jernej.skrabec@siol.net>,
	"David Woodhouse" <dwmw2@infradead.org>,
	Lu Baolu <baolu.lu@linux.intel.com>
Cc: Zhen Lei <thunder.leizhen@huawei.com>
Subject: [PATCH 5/8] iommu: fix a couple of spelling mistakes
Date: Fri, 26 Mar 2021 14:24:09 +0800	[thread overview]
Message-ID: <20210326062412.1262-6-thunder.leizhen@huawei.com> (raw)
In-Reply-To: <20210326062412.1262-1-thunder.leizhen@huawei.com>

There are several spelling mistakes, as follows:
funcions ==> functions
distiguish ==> distinguish
detroyed ==> destroyed

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
---
 drivers/iommu/iommu.c | 4 ++--
 drivers/iommu/iova.c  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c
index d0b0a15dba8413c..0f4e9a6122ee58f 100644
--- a/drivers/iommu/iommu.c
+++ b/drivers/iommu/iommu.c
@@ -1453,7 +1453,7 @@ struct iommu_group *pci_device_group(struct device *dev)
 
 	/*
 	 * Look for existing groups on non-isolated functions on the same
-	 * slot and aliases of those funcions, if any.  No need to clear
+	 * slot and aliases of those functions, if any.  No need to clear
 	 * the search bitmap, the tested devfns are still valid.
 	 */
 	group = get_pci_function_alias_group(pdev, (unsigned long *)devfns);
@@ -2267,7 +2267,7 @@ struct iommu_domain *iommu_get_dma_domain(struct device *dev)
  * iterating over the devices in a group.  Ideally we'd have a single
  * device which represents the requestor ID of the group, but we also
  * allow IOMMU drivers to create policy defined minimum sets, where
- * the physical hardware may be able to distiguish members, but we
+ * the physical hardware may be able to distinguish members, but we
  * wish to group them at a higher level (ex. untrusted multi-function
  * PCI devices).  Thus we attach each device.
  */
diff --git a/drivers/iommu/iova.c b/drivers/iommu/iova.c
index e6e2fa85271c3f8..bf710b0a3713e21 100644
--- a/drivers/iommu/iova.c
+++ b/drivers/iommu/iova.c
@@ -524,7 +524,7 @@ static void fq_destroy_all_entries(struct iova_domain *iovad)
 	int cpu;
 
 	/*
-	 * This code runs when the iova_domain is being detroyed, so don't
+	 * This code runs when the iova_domain is being destroyed, so don't
 	 * bother to free iovas, just call the entry_dtor on all remaining
 	 * entries.
 	 */
-- 
1.8.3



  parent reply	other threads:[~2021-03-26  6:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-26  6:24 [PATCH 0/8] iommu: fix a couple of spelling mistakes detected by codespell tool Zhen Lei
2021-03-26  6:24 ` [PATCH 1/8] iommu/pamu: fix a couple of spelling mistakes Zhen Lei
2021-03-26  6:24 ` [PATCH 2/8] iommu/omap: Fix spelling mistake "alignement" -> "alignment" Zhen Lei
2021-03-26  6:24 ` [PATCH 3/8] iommu/mediatek: Fix spelling mistake "phyiscal" -> "physical" Zhen Lei
2021-03-26  6:24 ` [PATCH 4/8] iommu/sun50i: Fix spelling mistake "consits" -> "consists" Zhen Lei
2021-04-17  6:07   ` Jernej Škrabec
2021-03-26  6:24 ` Zhen Lei [this message]
2021-04-16 15:55   ` [PATCH 5/8] iommu: fix a couple of spelling mistakes John Garry
2021-04-17  1:10     ` Leizhen (ThunderTown)
2021-03-26  6:24 ` [PATCH 6/8] iommu/amd: " Zhen Lei
2021-03-26  6:24 ` [PATCH 7/8] iommu/arm-smmu: Fix spelling mistake "initally" -> "initially" Zhen Lei
2021-03-26  6:24 ` [PATCH 8/8] iommu/vt-d: fix a couple of spelling mistakes Zhen Lei
2021-04-16 15:24 ` [PATCH 0/8] iommu: fix a couple of spelling mistakes detected by codespell tool Joerg Roedel
2021-04-17  1:11   ` Leizhen (ThunderTown)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210326062412.1262-6-thunder.leizhen@huawei.com \
    --to=thunder.leizhen@huawei.com \
    --cc=baolu.lu@linux.intel.com \
    --cc=dwmw2@infradead.org \
    --cc=iommu@lists.linux-foundation.org \
    --cc=jernej.skrabec@siol.net \
    --cc=joro@8bytes.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=mripard@kernel.org \
    --cc=robin.murphy@arm.com \
    --cc=wens@csie.org \
    --cc=will@kernel.org \
    --cc=yong.wu@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).