aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChao Gao <chao.gao@intel.com>2022-08-26 17:50:46 +0800
committerChristoph Hellwig <hch@lst.de>2022-09-07 10:38:16 +0200
commit43b919017fe755ccd2b19afb2dc2d3da8f840038 (patch)
tree3ec2d8b6ea65ea63e6ce23908173b3382298545d
parentswiotlb: avoid potential left shift overflow (diff)
downloadlinux-dev-43b919017fe755ccd2b19afb2dc2d3da8f840038.tar.xz
linux-dev-43b919017fe755ccd2b19afb2dc2d3da8f840038.zip
swiotlb: fix a typo
"overwirte" isn't a word. It should be "overwrite". Signed-off-by: Chao Gao <chao.gao@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
-rw-r--r--kernel/dma/swiotlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/dma/swiotlb.c b/kernel/dma/swiotlb.c
index 1ce8977d911c..0ef6b12f961d 100644
--- a/kernel/dma/swiotlb.c
+++ b/kernel/dma/swiotlb.c
@@ -764,7 +764,7 @@ phys_addr_t swiotlb_tbl_map_single(struct device *dev, phys_addr_t orig_addr,
/*
* When dir == DMA_FROM_DEVICE we could omit the copy from the orig
* to the tlb buffer, if we knew for sure the device will
- * overwirte the entire current content. But we don't. Thus
+ * overwrite the entire current content. But we don't. Thus
* unconditional bounce may prevent leaking swiotlb content (i.e.
* kernel memory) to user-space.
*/