Skip to content

Commit dbaf407

Browse files
committed
formatting
1 parent 74b5e12 commit dbaf407

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/sched/syscalls/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ pub async fn sys_sched_getaffinity(
2626
};
2727
let cpu_mask = {
2828
let sched_data = task.sched_data.lock_save_irq();
29-
sched_data.as_ref().map(|data| data.cpu_mask).unwrap_or([u8::MAX; CPU_MASK_SIZE])
29+
sched_data
30+
.as_ref()
31+
.map(|data| data.cpu_mask)
32+
.unwrap_or([u8::MAX; CPU_MASK_SIZE])
3033
};
3134
let mut cpu_mask: &[u8] = &cpu_mask;
3235
if CPU_MASK_SIZE > size {

0 commit comments

Comments
 (0)