Commit e1076e7
Remove unwrap and propagate errors in PIO device manager setup
Replace unwraps with map_err to propagate LegacyDeviceError as
VmmError::LegacyIOBus. This completes a TODO and prevents potential
panics.
Signed-off-by: Dakshin Devanand <[email protected]>1 parent a6d0d93 commit e1076e7
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
168 | | - | |
169 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
170 | 172 | | |
171 | 173 | | |
172 | 174 | | |
| |||
0 commit comments