Skip to content

Commit

Permalink
smbus: Fixup failing CI
Browse files Browse the repository at this point in the history
Signed-off-by: Alistair Francis <[email protected]>
  • Loading branch information
alistair23 committed Jan 19, 2024
1 parent c424432 commit 3ffd73e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/smbus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1820,8 +1820,7 @@ mod spdm_messages {

let ctx = MCTPSMBusContext::new(SOURCE_ID, &msg_types, &vendor_ids);
let buf: [u8; 14] = [
0x44, 0x0f, 0x0a, 0x69, 0x01, 0x22, 0x34, 0xc8, 0x05, 0x10, 0x84, 0x00, 0x00,
0x9c,
0x44, 0x0f, 0x0a, 0x69, 0x01, 0x22, 0x34, 0xc8, 0x05, 0x10, 0x84, 0x00, 0x00, 0x9c,
];

let (msg_type, payload) = ctx.decode_packet(&buf).unwrap();
Expand Down Expand Up @@ -1849,8 +1848,8 @@ mod spdm_messages {

let ctx = MCTPSMBusContext::new(SOURCE_ID, &msg_types, &vendor_ids);
let buf: [u8; 18] = [
0x68, 0x0f, 0x0e, 0x45, 0x01, 0x34, 0x22, 0xc8, 0x05, 0x10, 0x04, 0x00, 0x00,
0x00, 0x01, 0x00, 0x12, 0x97,
0x68, 0x0f, 0x0e, 0x45, 0x01, 0x34, 0x22, 0xc8, 0x05, 0x10, 0x04, 0x00, 0x00, 0x00,
0x01, 0x00, 0x12, 0x97,
];

let (msg_type, payload) = ctx.decode_packet(&buf).unwrap();
Expand Down

0 comments on commit 3ffd73e

Please sign in to comment.