Skip to content

Commit 488022e

Browse files
committed
linux: Remove incorrect repr(align(8)) for canxl_frame
`can_frame` and `canfd_frame` need this, but `canxl_frame` does not. This was causing the struct to be incorrectly aligned.
1 parent dec14b0 commit 488022e

File tree

1 file changed

+0
-1
lines changed
  • src/new/linux_uapi/linux

1 file changed

+0
-1
lines changed

src/new/linux_uapi/linux/can.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ pub const CANXL_XLF: c_int = 0x80;
7272
pub const CANXL_SEC: c_int = 0x01;
7373

7474
s! {
75-
#[repr(align(8))]
7675
pub struct canxl_frame {
7776
pub prio: canid_t,
7877
pub flags: u8,

0 commit comments

Comments
 (0)