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};
16
16
use crate :: error:: { Error , Result } ;
17
17
use crate :: lock:: ro_after_init:: RoAfterInit ;
18
18
use core:: convert:: TryFrom ;
19
- use core:: ops:: Range ;
20
19
use core:: fmt;
20
+ use core:: ops:: Range ;
21
21
use core:: ptr;
22
22
23
23
use arrayvec:: ArrayVec ;
@@ -288,8 +288,10 @@ impl IoApic {
288
288
/// convenience function to get a Range of the interrupt vectors
289
289
/// that should be associated with this IoApic.
290
290
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
+ } ;
293
295
}
294
296
}
295
297
You can’t perform that action at this time.
0 commit comments