From 8cb6cc153c050c78cf0b4f98ec8306013b4afd01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=87a=C4=9Fatay=20Yi=C4=9Fit=20=C5=9Eahin?= Date: Tue, 24 Oct 2023 17:56:06 +0200 Subject: [PATCH] fix typo --- src/arch/aarch64/kernel/pci.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/aarch64/kernel/pci.rs b/src/arch/aarch64/kernel/pci.rs index 20835cd1ba..4c6695e66e 100644 --- a/src/arch/aarch64/kernel/pci.rs +++ b/src/arch/aarch64/kernel/pci.rs @@ -22,7 +22,7 @@ pub(crate) struct PciConfigRegion(VirtAddr); impl PciConfigRegion { pub const fn new(addr: VirtAddr) -> Self { - assert!(addr.as_u64() & 0xFFFFFFF == 0, "Unaligend PCI Config Space"); + assert!(addr.as_u64() & 0xFFFFFFF == 0, "Unaligned PCI Config Space"); Self(addr) } }