Skip to content

Commit c424c49

Browse files
committed
fix: typos
1 parent 412ca76 commit c424c49

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/arch/x86_64/mm/paging.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ pub fn virtual_to_physical(virtual_address: VirtAddr) -> Option<PhysAddr> {
113113

114114
match translate_result {
115115
TranslateResult::NotMapped | TranslateResult::InvalidFrameAddress(_) => {
116-
trace!("Uable to determine the physical address of 0x{virtual_address:X}");
116+
trace!("Unable to determine the physical address of 0x{virtual_address:X}");
117117
None
118118
}
119119
TranslateResult::Mapped { frame, offset, .. } => {

src/drivers/virtio/virtqueue/packed.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ impl WrapCount {
7474
WrapCount(true)
7575
}
7676

77-
/// Toogles a given wrap count to respectiver other value.
77+
/// Toggles a given wrap count to respectiver other value.
7878
///
7979
/// If WrapCount(true) returns WrapCount(false),
8080
/// if WrapCount(false) returns WrapCount(true).
@@ -470,7 +470,7 @@ impl DrvNotif {
470470
}
471471

472472
impl DevNotif {
473-
/// Enables the notificication capability for a specific buffer.
473+
/// Enables the notification capability for a specific buffer.
474474
pub fn enable_notif_specific(&mut self) {
475475
self.f_notif_idx = true;
476476
}

0 commit comments

Comments
 (0)