Skip to content

Commit 43b9190

Browse files
gaochaointelChristoph Hellwig
authored andcommitted
swiotlb: fix a typo
"overwirte" isn't a word. It should be "overwrite". Signed-off-by: Chao Gao <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
1 parent 3f04616 commit 43b9190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/dma/swiotlb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ phys_addr_t swiotlb_tbl_map_single(struct device *dev, phys_addr_t orig_addr,
764764
/*
765765
* When dir == DMA_FROM_DEVICE we could omit the copy from the orig
766766
* to the tlb buffer, if we knew for sure the device will
767-
* overwirte the entire current content. But we don't. Thus
767+
* overwrite the entire current content. But we don't. Thus
768768
* unconditional bounce may prevent leaking swiotlb content (i.e.
769769
* kernel memory) to user-space.
770770
*/

0 commit comments

Comments
 (0)