Skip to content

Commit

Permalink
Merge branch 'BUPT-OS:main' into control_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shannmu authored Feb 3, 2024
2 parents c105d48 + 8368c16 commit 96f1564
Show file tree
Hide file tree
Showing 96 changed files with 3,190 additions and 1,763 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@ jobs:
echo 'obj-m += rust_module_parameters_loadable_default.o' >> samples/rust/Makefile
echo 'obj-m += rust_module_parameters_loadable_custom.o' >> samples/rust/Makefile
# Pre-check
- run: make LLVM=1 rustfmtcheck

# Build
- run: mv .github/workflows/kernel-${{ matrix.arch }}-${{ matrix.config }}.config .config

Expand Down
2 changes: 1 addition & 1 deletion drivers/android/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ impl IoctlHandler for Process {
}

impl FileOpener<Ref<Context>> for Process {
fn open(ctx: &Ref<Context>, fileref: &File) -> Result<Self::Wrapper> {
fn open(ctx: &Ref<Context>, _fileref: &File) -> Result<Self::Wrapper> {
Self::new(ctx.clone())
}
}
Expand Down
4 changes: 1 addition & 3 deletions kernel/rros/arch/arm64/syscall.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
use kernel::bindings;
use kernel::prelude::*;
use kernel::ptrace::{IrqStage, PtRegs};
use kernel::{bindings, prelude::*, ptrace::PtRegs};

/// Returns the first register value from the given out-of-bounds pointer.
#[macro_export]
Expand Down
Loading

0 comments on commit 96f1564

Please sign in to comment.