Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cagatay-y committed Oct 25, 2023
1 parent 4c677ad commit 8cb6cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arch/aarch64/kernel/pci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit 8cb6cc1

Please sign in to comment.