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>
This commit is contained in:
Chao Gao 2022-08-26 17:50:46 +08:00 committed by Christoph Hellwig
parent 3f0461613e
commit 43b919017f

View File

@ -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 * 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 * 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. * unconditional bounce may prevent leaking swiotlb content (i.e.
* kernel memory) to user-space. * kernel memory) to user-space.
*/ */