Skip to content

Commit 37557b0

Browse files
caihuoqing1990vivier
authored andcommitted
intel_iommu: Fix typo in comments
Fix typo: *Unknwon ==> Unknown *futher ==> further *configed ==> configured Signed-off-by: Cai Huoqing <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Acked-by: Peter Xu <[email protected]> Message-Id: <[email protected]> Signed-off-by: Laurent Vivier <[email protected]>
1 parent 7916b5f commit 37557b0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hw/i386/intel_iommu.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ static inline bool vtd_pe_type_check(X86IOMMUState *x86_iommu,
679679
}
680680
break;
681681
default:
682-
/* Unknwon type */
682+
/* Unknown type */
683683
return false;
684684
}
685685
return true;
@@ -692,7 +692,7 @@ static inline bool vtd_pdire_present(VTDPASIDDirEntry *pdire)
692692

693693
/**
694694
* Caller of this function should check present bit if wants
695-
* to use pdir entry for futher usage except for fpd bit check.
695+
* to use pdir entry for further usage except for fpd bit check.
696696
*/
697697
static int vtd_get_pdire_from_pdir_table(dma_addr_t pasid_dir_base,
698698
uint32_t pasid,
@@ -746,7 +746,7 @@ static int vtd_get_pe_in_pasid_leaf_table(IntelIOMMUState *s,
746746

747747
/**
748748
* Caller of this function should check present bit if wants
749-
* to use pasid entry for futher usage except for fpd bit check.
749+
* to use pasid entry for further usage except for fpd bit check.
750750
*/
751751
static int vtd_get_pe_from_pdire(IntelIOMMUState *s,
752752
uint32_t pasid,
@@ -1507,7 +1507,7 @@ static int vtd_sync_shadow_page_table(VTDAddressSpace *vtd_as)
15071507
}
15081508

15091509
/*
1510-
* Check if specific device is configed to bypass address
1510+
* Check if specific device is configured to bypass address
15111511
* translation for DMA requests. In Scalable Mode, bypass
15121512
* 1st-level translation or 2nd-level translation, it depends
15131513
* on PGTT setting.

0 commit comments

Comments
 (0)