Fix errors raised by the new clippy

This commit is contained in:
Zhang Junyang
2023-12-24 11:44:45 +08:00
committed by Tate, Hongliang Tian
parent 94f8914a5e
commit e922eaa428
4 changed files with 5 additions and 5 deletions

View File

@ -140,8 +140,8 @@ impl InitStack {
fn adjust_stack_alignment(
&mut self,
root_vmar: &Vmar<Full>,
envp_pointers: &Vec<u64>,
argv_pointers: &Vec<u64>,
envp_pointers: &[u64],
argv_pointers: &[u64],
aux_vec: &AuxVec,
) -> Result<()> {
// ensure 8-byte alignment