We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8e71060 + f04b864 commit 2704f3cCopy full SHA for 2704f3c
rustsbi-qemu/src/device_tree.rs
@@ -46,7 +46,7 @@ pub(crate) fn parse(opaque: usize) -> BoardInfo {
46
};
47
let dtb = unsafe {
48
Dtb::from_raw_parts_filtered(opaque as _, |e| {
49
- matches!(e, E::Misaligned(4) | E::LastCompVersion(16))
+ matches!(e, E::Misaligned(4) | E::LastCompVersion(_))
50
})
51
}
52
.unwrap();
test-kernel/src/main.rs
@@ -113,7 +113,7 @@ impl BoardInfo {
113
114
unsafe {
115
Dtb::from_raw_parts_filtered(dtb_pa as _, |e| {
116
117
118
119
.unwrap()
0 commit comments