devices: gic: Pass slice rather than &Vec
This addresses a clippy issue Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
bfa31f9c56
commit
7fb1280666
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ impl Gic {
|
|||
pub fn restore_vgic(
|
||||
&mut self,
|
||||
state: Option<GicState>,
|
||||
saved_vcpu_states: &Vec<CpuState>,
|
||||
saved_vcpu_states: &[CpuState],
|
||||
) -> Result<()> {
|
||||
self.set_gicr_typers(saved_vcpu_states);
|
||||
self.vgic
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue