File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ use crate::acpi::madt::{Ics, MADT};
1616use crate :: error:: { Error , Result } ;
1717use crate :: lock:: ro_after_init:: RoAfterInit ;
1818use core:: convert:: TryFrom ;
19- use core:: ops:: Range ;
2019use core:: fmt;
20+ use core:: ops:: Range ;
2121use core:: ptr;
2222
2323use arrayvec:: ArrayVec ;
@@ -288,8 +288,10 @@ impl IoApic {
288288 /// convenience function to get a Range of the interrupt vectors
289289 /// that should be associated with this IoApic.
290290 pub fn get_ivec_range ( & self ) -> Range < u32 > {
291- return Range { start : self . gsi_base , end : self . gsi_base +
292- ( self . max_redirection_entry ( ) as u32 ) } ;
291+ return Range {
292+ start : self . gsi_base ,
293+ end : self . gsi_base + ( self . max_redirection_entry ( ) as u32 ) ,
294+ } ;
293295 }
294296}
295297
You can’t perform that action at this time.
0 commit comments