Skip to content

Commit ff34068

Browse files
jamesmunnshawkw
andcommitted
Apply suggestions from code review
Co-authored-by: Eliza Weisman <eliza@elizas.website>
1 parent 6b3c1fb commit ff34068

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

task/host-sp-comms/src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2081,7 +2081,7 @@ ereports::declare_ereporter! {
20812081

20822082
/// An ereport represent a host reported panic
20832083
#[derive(Encode)]
2084-
#[ereport(class = "hw.host.panic", version = 0)]
2084+
#[ereport(class = "host.panic", version = 0)]
20852085
struct HostPanic {
20862086
/// The total number of panics observed this boot cycle.
20872087
///
@@ -2091,12 +2091,12 @@ struct HostPanic {
20912091
///
20922092
/// This quantity may be less than the amount received, as it is capped
20932093
/// by the available storage space allocated (`MAX_HOST_FAIL_MESSAGE_LEN`).
2094-
pan_len: u32,
2094+
msglen: u32,
20952095
}
20962096

20972097
/// An ereport represent a host reported boot failure
20982098
#[derive(Encode)]
2099-
#[ereport(class = "hw.host.btfail", version = 0)]
2099+
#[ereport(class = "host.btfail", version = 0)]
21002100
struct HostBootFail {
21012101
/// The total number of panics observed this boot cycle.
21022102
///

0 commit comments

Comments
 (0)